|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
|
|
Stop making mediocre tutorials.The best tutorials are video! Camtasia Studio makes it easy to create engaging, buzz-building screen videos at any size, in any popular format. Download the free trial!
|
|
#1
|
|||
|
|||
|
Not passing POST variables to script
I uploaded the files to my server after modifying db.php and accessed register.php through the browser. Entered the required details and it comes back stating the information has not been entered. I'm probally doing something stupid.
How do I check what version of PHP is installed on my server aswell? |
|
#2
|
|||
|
|||
|
Probably an issue with your registerglobals setting
usually this type of problem comes from a script that tries to use a variable that used to be automatically registered as $variable. Newer versions of php use $_GET['variable'] You also have use of $_POST, $_COOKIE, $_SESSION, and $GLOBALS The setting is in php.ini check this url for more info: http://us4.php.net/registerglobals
__________________
__________________________________________________ _ Wil Moore III, MCP | Integrations Specialist | Senior Consultant Are You Listed...? | DigitallySmooth Inc. |
|
#3
|
|||
|
|||
|
registerglobals AAAHHHHHHH!!!!!!!!... i had the same problem, thats exaclty what it is.
|
|
#4
|
|||
|
|||
|
I have turned register_globals off and restarted the server but it still does the same. Do I need PHP4.3 upwards to use the $_POST variable. If so how can check which version is currently installed.
|
|
#5
|
|||
|
|||
|
Quote:
Source = http://us4.php.net/registerglobals If you want to check what version you are running, inside any php file, type this: phpinfo(); Then view the page... you will have all the info you need. |
![]() |
| Viewing: Dev Articles Community Forums > Programming > Programming Tools > Not passing POST variables to script |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|