RE: [PHP] Useragent and file [SOLN]

2002-08-30 Thread Todd Pasley
:) thanks to anyone who thought about replying :) Maybe this discovering might help someone else also, hence my post. Later, Todd. > -Original Message- > From: Todd Pasley [mailto:[EMAIL PROTECTED]] > Sent: Friday, 30 August 2002 6:19 PM > To: [EMAIL PROTECTED] > Subject:

[PHP] Useragent and file

2002-08-30 Thread Todd Pasley
Hi Im using file() to get the contents of a webpage. e.g // get a web page into an array $fcontents= file ($targeturl); However I dont know how to mimic a different useragent. Using LWP::UA (in perl) i can pretend to be iexplore6 running on win2k or anything i want.. Is there a way i can do