Re: Problem with $_SERVER['HTTP_REFERER']

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



is it possible that there is no referer.  what happens if you link to this
page from another, ensuring there is a referer, will it display it then?

Jeff


                                                                                                                                        
                      Sugeng Utomo                                                                                                      
                      <sgg5744@yahoo.co        To:       php-db@lists.php.net                                                           
                      m>                       cc:                                                                                      
                                               Subject:   Problem with $_SERVER['HTTP_REFERER']                                 
                      07/28/2003 07:26                                                                                                  
                      AM                                                                                                                
                                                                                                                                        
                                                                                                                                        




Dear all,

I have just got a problem with $_SERVER['HTTP_REFERER']; , I try to echo
this like below :

<?php
echo $_SERVER['HTTP_REFERER'];
?>

Then I open up in browser , and I got an error :

      "Notice: Undefined index: HTTP_REFERER in d:\referer.php on line 2"

I use Windows 2000 Professional , Apache 1.3.27 and PHP 4.3.2. Does anyone
knows about this one ?.

Thanx be4 ...

                Best Regards,
          sgg5744@yahoo.com


Neva say surrender 2 learn anything ...
So , Remember this always ...

---------------------------------
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software





-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux