homepage Welcome to WebmasterWorld Guest from 54.166.108.167
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Visit PubCon.com
Home / Forums Index / Code, Content, and Presentation / PHP Server Side Scripting
Forum Library, Charter, Moderators: coopster & jatar k

PHP Server Side Scripting Forum

    
How to do perfect browser simulation?
TechMan




msg:4189381
 5:22 pm on Aug 19, 2010 (gmt 0)

Hi,

I am using Snoopy class to read contents of a web page. But it doesn't perfectly simulate the browser because the content of web page changes when I use Snoopy to fetch it. And if I view it in browser directly then content is different.
I even set the user agent string in Snoopy but still no luck.
How can we perfectly simulate browser so it is indistinguishable whether we are using some script or a browser to view web page?

Thanks

 

Anyango




msg:4189690
 10:22 am on Aug 20, 2010 (gmt 0)

Try searching about cURL for this, that will help.

TechMan




msg:4189741
 12:57 pm on Aug 20, 2010 (gmt 0)

I thought Snoopy itself uses cURL library but it seems like that is not the case.

Anyango




msg:4189832
 3:20 pm on Aug 20, 2010 (gmt 0)

Sorry if it does, i didnt know that

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / PHP Server Side Scripting
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved