Forums Page 24
-
The page should be expire when cilck back button
hi, i'm new to php world. i create user registration page. when i submit it,data goes to mysql. but when i click back button of browser it shows…
-
Multi image upload
I have a gallery to build and want to build a dynamic upload form to allow for $var number of fields but have a 30 sec execution limit on my host. im…
-
Preg_match question
I want to use preg_match to make sure a string is always 6 characters long and only contains 0-9 and the letters A-F. I have this but it does not…
-
Redirect not working after making a POST/GET
Hi Everyone, I am a novice in PHP. Here I have 2 pages, one page with a textbox and button and other page which has code to redirect to another…
-
scandir clients directory
hi, how can i scandir the clients directory? i need a script that when i click a button it will upload all the files in the directory $dir =…
-
Code Help.. If txt input box empty search X instead..
I am having a problem with my search script. At current it will simply search by a selected date which is a java based calendar that displays when…
- Advertisement
-
pageination not working right... coping images over 4 pages
Code: <?php //This code will obtain the required page number from the $_GET array. Note that if it is not present it will default to 1. if…
-
Help with explandable category tree
I have the below query: SELECT l1.id as lev1_id,l2.id as lev2_id,l3.id as lev3_id,l1.category AS lev1, l2.category as lev2, l3.category as lev3 FROM…
-
help with calculations on a flat text file
hello, I have this code below that is attached to a flat file like this: Email:LastName:FirstName:Assignment1,100:Assignment2,100:Quiz1,50…
-
mysql timestamp manipulation
How could I use a timestamp (e.g 2009-10-30 13:20:35 ), and with php find out if it is: from today from this week from this month from the last 3…
-
Staff Induction System - No idea where to go from here!!!
Hi there, I'm pretty new to PHP and Mysql so could really do with being pointed in the right direction with this problem I have. I am trying to set…
-
LSB (PHP 5.3) problem with static value!
hello, i'm having a problem. static::$text variable gets lost at some point. can someone please correct and explain it to me? Line number On/Off|…
-
php slowing my site?
Hi all, I think that one of the reasons that my site doesn't work fast is that the code is very big. maybe in some cases there are un-optimal…
-
generate seo frienly url from a text like wordpress
Convert: "åäö" to "aao", "space" to "-", "!?" to "nothing", and all to lower case. function MakeSeo($string) { ??? } i want a php function which…
- Advertisement
-
php/xmlrpc class issue
I am working on xml-rpc in php to start with. I have a class that only has variables defined in it. I have defined an object to this class. Now what…
-
PHP search multiple input field box help
I am having a problem with my search script. At current it will simply search by a selected date which is a java based calendar that displays when…
-
PHP onsubmit in the form not going to the fuction.
I have a form through ‘onsubmit’ calling a function validation(). But not going to the function at all. Why? <form action="member.php"…
-
Help a newbee save my job !
Hey guys i am dying here i am new to php and would like for someone to help me with this problem i have a script that send information from a "form"…
-
Session login issue
I'm wondering how to fix a problem I'm having with a session-based login system Say I go to http://www.website.com The page that processes the login…
-
compile php5 with DOM
Hi, I can't manage to compile php 5.3.0 from source on Windows to include DOM, in spite of the documentation saying that DOM is built into PHP5. I'm…