RE: [PHP] HTTP_REFERER is empty!
| From: | Rodino, Justin Bain | Date: | Fri, 03 Nov 2000 02:46:30 +0000 |
| Subject: | RE: [PHP] HTTP_REFERER is empty! | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-23508@lists.php.net to get a copy of this message | ||
you spelled it wrong...
$refer = getenv("HTP_REFERER");
should be
$refer = getenv("HTTP_REFERER");
with two T's...
________________________________________
Justin Rodino <justin@goldendome.com>
Web Application Developer
Golden Dome Media
PO Box 1616
Notre Dame, IN 46634
219.631.1116
219.674.0980
800.728.7979
219.631.1001 - fax
http://www.goldendome.com/
http://www.wndu.com/
> -----Original Message-----
> From: Joe Stump [mailto:joe@earth.care2.com]
> Sent: Thursday, November 02, 2000 9:21 PM
> To: Worawisut Pinyoyang
> Cc: php-general@lists.php.net
> Subject: Re: [PHP] HTTP_REFERER is empty!
>
>
> Some browsers to now send this variable.
>
> --Joe
>
> On Thu, Nov 02, 2000 at 11:49:11PM +0700, Worawisut Pinyoyang wrote:
> > i'm working on standalone computer with Apache for Win32 +
> PHP 4.0.3 cgi
> > (Win2K)
> > my problem is when i try to put his code:
> >
> > <?php
> >
> > echo $HTTP_REFERER;
> >
> > $refer = getenv("HTP_REFERER");
> >
> > echo $refer;
> >
> > ?>
> >
> > but the results are empty.The browsers (IE,Netscape,Opera) echo
> > nothing...blank...
> >
> > What's happen ? and how can i solve this problem?
> >
> > Thank you very much in advance.
> >
> > -Worawisut
> >
> >
> > --
> > PHP General Mailing List (http://www.php.net/)
> > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> > For additional commands, e-mail: php-general-help@lists.php.net
> > To contact the list administrators, e-mail:
> php-list-admin@lists.php.net
> ==============================================================
> ==================
> = Joe Stump joestump98@yahoo.com
http://www.miester.org =
============================================================================
====
"Real programmers don't comment their code.
It was hard to write, it should be hard to understand."
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
For additional commands, e-mail: php-general-help@lists.php.net
To contact the list administrators, e-mail: php-list-admin@lists.php.net