At 17:49 25.02.2003, Randum Ian said: --------------------[snip]-------------------- >Hi guys, I have installed a test sever from those guys are FirePages.com.au >on my Windows XP Machine at home to test websites on http://localhost. > >The only problem is the forms are not passing on the variables. I have used >the same scripts on a webserver and they work fine. Could anyone tell me >what I should check so that these variables are passed thru? Has anybody >come across this problem before? --------------------[snip]--------------------
Check your php.ini for register_globals. This defaults to off in the later versions of PHP (and should be left as-is). Use the $_REQUEST, $_GET, or $_POST superglobals to access form data. You may also extract() these variables, but do yourself a favour and do some checks before that no unintended variables have been passed. -- >O Ernest E. Vogelsinger (\) ICQ #13394035 ^ http://www.vogelsinger.at/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php