You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to
i understood that in the new version of PHP that global variable will be off, and been suggested to me to user $_server when i user $PHP_SELF but am not sure it is working right, can anyone try to explain how can i user $_SERVER better, since the explanation at PHP.net is not clear about that. thanks Jim
Nikolai Chuvakhin
unread,
Jul 7, 2003, 1:22:58 PM7/7/03
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
> > i understood that in the new version of PHP that global variable will be > off, and been suggested to me to user $_server when i user $PHP_SELF
Actually, not quite. $_SERVER is an array. The equivalent of old $PHP_SELF is included in that array as $_SERVER['PHP_SELF']. So whenever you happened to use $PHP_SELF in the past, you should use $_SERVER['PHP_SELF'] now.