$HTTP_Referer
| From: | Josephin | Date: | Thu, 06 Nov 2003 18:31:23 +0000 |
| Subject: | $HTTP_Referer | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-168759@lists.php.net to get a copy of this message | ||
Hi,
am a newbie as of yesterday.
Can't figure out how to get the $HTTP_Referer (own domain) of the page
entering my form (html), convert it into a variable which is later passed on
to my formmailer.php for the $subject variable.
xy.html ------->form.html------>formmailer.php
want the $HTTP_Referer or HTTP_URI, file only, (of xy.html)
-->to be forwarded to form.html,
-->to be converted in a variable,
-->which is passed on to formmailer.php, which will use it as "subject".
Would appreciate your know-how!
Jo