@zyberjockauthorSep 23.2004 — #Thanks for your advices I checked my register_globals and as you said it was turned 'off' so i turned it 'on' and it did great. thanks again. ?
@zyberjockauthorSep 23.2004 — #I have read all the articles that you have posted shimon, and I was really convinced that turning register_globals 'off' is 'evil', lol. but how can I make my PHP_SELF variable work when register_globals is 'off' is there any way to do that. or ill just have to type in the whole name of the script? thanks again.
@Paul_JrSep 24.2004 — #[i]Originally posted by zyberjock [/i]
[B]but how can I make my PHP_SELF variable work when register_globals is 'off' is there any way to do that. or ill just have to type in the whole name of the script? thanks again. [/B][/QUOTE] [font=palatino linotype]It was mentioned in one of the previous posts: use [url=http://us4.php.net/manual/en/reserved.variables.php#reserved.variables.server]$_SERVER['PHP_SELF'];[/url] (note, the [i]PHP_SELF[/i] element is the first one listed on that page).[/font]
[B][font=palatino linotype]It was mentioned in one of the previous posts: use [url=http://us4.php.net/manual/en/reserved.variables.php#reserved.variables.server]$_SERVER['PHP_SELF'];[/url] (note, the [i]PHP_SELF[/i] element is the first one listed on that page).[/font] [/B][/QUOTE]
Thanks paul, I haven't noticed it but i will try it. Thanks... ?