Re: what will be the output for this pgm?
| From: | Sid | Date: | Wed, 06 Sep 2000 15:49:31 +0000 |
| Subject: | Re: what will be the output for this pgm? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-66312@lists.php.net to get a copy of this message | ||
Of course there will not be any output. That's because when you type in the directly type the url in the browser there will not be any referer. Try putting a link from another domain to that page and you will get some output then / try visiting the page through a search engine. i.e make the page come up in you search results and then click on it and when you visit the page it will show you the domain of the search engine.
Hope this helps
At 02:05 AM 9/5/01 +0530, you wrote:
Hi friend, what will be the output for the following program?<?php $foo=$HTTP_SERVER_VARS["HTTP_REFERER"]; echo $foo; ?>For me it is printing the blank value. Thanks in advance Regards -Balaji -- 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