RE: [PHP] 4.04 --> 4.1.2 incompatible
| From: | Mark Middleton | Date: | Tue, 20 Aug 2002 17:28:19 +0000 |
| Subject: | RE: [PHP] 4.04 --> 4.1.2 incompatible | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-113369@lists.php.net to get a copy of this message | ||
> Another tip you might find useful if you're writing code that outputs a
> <FORM> that posts to itself, is to echo $PHP_SELF instead of hard-coding
> the target. If you happen to move your code elsewhere in the future,
> this will save you the time of having to go back and specify a new POST
> target.
>
I've personally had difficulties with this technique, as Netscape browsers
didn't return $PHP_SELF the way I had written it. Make sure to make it such
that Netscape users can see it too.
http://www.faqts.com/knowledge_base/view.phtml/aid/139/fid/6
-Mark