Re: leaving UA trace when getting XML from URI

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

 



On Wed, June 27, 2007 7:09 am, pobox@xxxxxxxxxxxxx wrote:
> i wrote a small RSS reader using file_get_contents to get the XML from
> the URI - however i noticed that this does not leave trace (User
> Agent)
> in the remote server logs.
>
> is there a way in PHP to get XML from URI and leave UA trace in the
> remote server logs?

http://php.net/curl
will let you send whatever headers you want fairly easily.

-- 
Some people have a "gift" link here.
Know what I want?
I want you to buy a CD from some indie artist.
http://cdbaby.com/browse/from/lynch
Yeah, I get a buck. So?

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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux