cooldude832 Posted July 20, 2007 Share Posted July 20, 2007 Are the $_SERVER sg variables in php 4 because i'm on a new server try to do <form name="register" action="<?php echo $_SERVER['self'];?>" method="post"> and in the source it comes back as <form name="register" action="" method="post"> Any Ides? Link to comment https://forums.phpfreaks.com/topic/60903-solved-_server-super-globals/ Share on other sites More sharing options...
benjaminbeazy Posted July 20, 2007 Share Posted July 20, 2007 PHP_SELF Link to comment https://forums.phpfreaks.com/topic/60903-solved-_server-super-globals/#findComment-303060 Share on other sites More sharing options...
cooldude832 Posted July 20, 2007 Author Share Posted July 20, 2007 what as i $_PHP['self'] ? Link to comment https://forums.phpfreaks.com/topic/60903-solved-_server-super-globals/#findComment-303061 Share on other sites More sharing options...
benjaminbeazy Posted July 20, 2007 Share Posted July 20, 2007 $_SERVER['self'] doesnt exist use $_SERVER['PHP_SELF'], such superglobals were introduced in 4.1.0 Link to comment https://forums.phpfreaks.com/topic/60903-solved-_server-super-globals/#findComment-303063 Share on other sites More sharing options...
cooldude832 Posted July 20, 2007 Author Share Posted July 20, 2007 thanks, need to get my hosting company to upgrade my php really soon Link to comment https://forums.phpfreaks.com/topic/60903-solved-_server-super-globals/#findComment-303069 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.