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 
this in PHP?

By changing the useragent will this also resolve problems with javascript?, I'd like 
the target server to think that I can view/run it.

Thanks heaps,

Todd.

Reply via email to