Search Help Board

PHP FAQ
PHP Articles
PHP Help
Bulletin Board

PHP Manual (NEW!)
First Time PHP'ers
Help with programming
Sql assignment help
PHP Homework Help


C# Help
RFP Direct

 
 Re: Can't get beyond setup with Jevon Guestbook
Author:  (---.scpe.powergate.ca)
Date:   02-20-04 10:39

It might be that the form is using the $fieldname which corresponds to the input box field name. In later versions of PHP this feature (called register_globals()) is turned off.

If you have access to the PHP.ini file, you can change the register_globals =1 to turn it on.

If you do not have ability to change this in the .ini files, check to see if you can alter this in the runtime (search the manual on making runtime changes...sorry at work and unable to spare much more time)

The third option is to open every file and change the name of the variable of the form element to use $_GET['elementName'] or $_POST['elementName']. Ie

you have a textbox for first name
<input type=text name=fname> and on the corresponding PHP page you have a variable called $fname which automatically takes the value of the form element fname.

This $fname needs to be changed to $_POST['fname'] if the form uses the POST method or $_GET['fname'] when the form uses the GET method of passing data.

hth

 Topics Author  Date
 Can't get beyond setup with Jevon Guestbook  new
Ilene 02-20-04 06:25 
 Re: Can't get beyond setup with Jevon Guestbook  new
bastien 02-20-04 10:39 
 Re: Can't get beyond setup with Jevon Guestbook  new
Ilene 02-20-04 10:54 
Go to Top  |  Go to Topic  |  Flat View  |  Search 
  |  
New Topic
 Reply To This Message
 Your Name:
 Your Email:
 Subject:
Email replies to this thread, to the address above.
    

Provided By
Phorum