Re: Changing User Agent for fopen
| From: | Gerard Samuel | Date: | Thu, 04 Dec 2003 15:54:30 +0000 |
| Subject: | Re: Changing User Agent for fopen | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-171845@lists.php.net to get a copy of this message | ||
On Thursday 04 December 2003 10:36 am, Gohaku wrote:
> Hi everybody,
> There are some pages I would like to extract links from but I can't
> access the page using the following:
> ini_set('php.user_agent', 'Mozilla/5.0');
This should work ->
header('User-Agent: Mozilla/5.0');