On Mon, Sep 15, 2003 at 07:58:25AM +0800, Louie Miranda wrote: : Eugene Lee mentioned: : > On Fri, Sep 12, 2003 at 04:21:16PM +0800, Louie Miranda wrote: : > : Eugene Lee mentioned: : > : > On Fri, Sep 12, 2003 at 03:53:22PM +0800, Louie Miranda wrote: : > : > : "Eugene Lee" mentioned: : > : > : > : > : > : > Several Windoze firewalls also filter out HTTP_REFERER. : > : > : : > : > : what can you suggest, im trying to do a referer email program on a : > : > : website and i think HTTP_REFERER will be my first approach, but : > : > : limited on some browsers and firewall. : > : > : > : > It depends on what exactly you are trying to accomplish. : > : : > : no, im making a "send this page to a friend program" : > : when the users click the button a small pop-up window will come out : > : and the http_referer will work and catch the previous page. : > : > Since it's a button, you could always send the SCRIPT_FILENAME to the : > pop-up window via a GET or POST method. : : SCRIPT_FILENAME, sorry but i didnt get this part.
On URL A, $_SERVER['SCRIPT_FILENAME'] reports URL A. And on that page, if you click on a link that takes you to URL B, then in URL B you'll get $_SERVER['HTTP_REFERER'] that also says URL A. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php