Anidazen Posted November 20, 2006 Share Posted November 20, 2006 Hey.I'm pretty interested in using PHP to retrieve and parse websites, and to generally simulate the browser as closely as possible.I'm taking on more and more advanced projects, and it's becoming harder and harder just to track what is said between browser and server. Are there any tools that can easily help with this? Some useful tools would include: - Showing what cookies are set and when. (Maybe their values too.) - Showing what cookies are accessed and when. (Their values too.) - Anything that can compare two pages of source code and highlight any lines/sections/form values/links that have changed.If anyone knows anything like this, or other tools that would be useful in helping build parsing applications, please let me know!Basically the kinda thing you need to try to recreate exactly the browsing experience when dealing with a complicated script. Quote Link to comment Share on other sites More sharing options...
Orio Posted November 20, 2006 Share Posted November 20, 2006 You should first look into the cURL library.For handling strings (such as sources), you can use regular expression.Orio. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.