This is a discussion on Data from Other Websites within the PHP Language forums, part of the PHP Programming Forums category; I believe this can be done, it's the kind of thing I've seen online Proxy browsing scripts do ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
I believe this can be done, it's the kind of thing I've seen online Proxy
browsing scripts do in the past. But I'm not sure of what to search for in order to find out the commands. What I want to do is create a script to retrieve information from a dynamic webpage. The website relies on cookies, however, and in the absense of certain cookies will not display the required webpage. How would I modify a PHP script in order for it to generate it's own cookies as though it were a web browser? |
|
|||
|
Smiley wrote:
> I believe this can be done, it's the kind of thing I've seen online Proxy > browsing scripts do in the past. But I'm not sure of what to search for in > order to find out the commands. > > What I want to do is create a script to retrieve information from a dynamic > webpage. The website relies on cookies, however, and in the absense of > certain cookies will not display the required webpage. > > How would I modify a PHP script in order for it to generate it's own cookies > as though it were a web browser? > > Hi Smiley, CURL can do that for you. Check it here: www.php.net/curl Regards, Erwin Moller |