That is due to register_globals being on by default in PHP4 and off by
default in PHP5.  It is a security risk and should not be used.  I
believed it is being removed in PHP 6.

Thank you,
Micah Gersten
onShore Networks
Internal Developer

Gunawan wrote:
> i don't know about the sql.. but i have some story.
> in php4, when type url like this
> localhost/mywork/index.php?myid=1
> i able to print the 'myid' variable easyly.. but when in php5.. i must
> type
> $_GET['myid'] to have myid value.
> Weaver Hickerson wrote:
>> Greetings list.  We are planning to move our "legacy" php4/apache
>> system to PHP5 and also move to the Zend Platform.  Wondering if
>> anyone has any gotchas/horror stories..  The system interfaces with
>> both MySQL and SQL Server.
>> Any thoughts appreciated!
>> --------------------------------
>> Weaver Hickerson, President
>> LightSpeed Technology Group
>> 770-787-0880 ext 3011

PHP Database Mailing List (
To unsubscribe, visit:

Reply via email to