what version of PHP are u using? version 4.2.2 has quite a few changes with the way form/querystring elements are created.... by default NO $vars are created automatically by passed formelements/etc..... im guessing this is your problem.... it would make sense... you have PHP < 4.2.1 at work so auto variable creation is enabled..... but you downloaded the 'latest' 4.2.2/.3 at home and are having this problem....
and with very good reason.... its a huge security risk when you think about it.... knowing someones code you can basically alter the value of any variable..... you can change this behaviour, but would reccomend you use the superglobal $_GET and $_POST arrays instead.....
eg...
myscript.php?name=magnetik&status=cooldude
$_GET["name"] = "magnetik"
$_GET["status"] = "cooldude"
make sense??? if u need anymore help, PM me....
EDIT : just browsed the http://php.net site and found the URL I wanted to share with you... ( http://www.php.net/release_4_2_1.php ) look under the 'External variables' section.....
also noticed that PHP 4.2.3 is now out.... so im upgrading my local win32 webserver as I write this!![]()



LinkBack URL
About LinkBacks

Reply With Quote

avoid it like the plague.... unless your doing corporate work that requires the use of microsoft products/etc... (which was sadly the case with my last job)

Bookmarks