Data from Other Websites
am 15.10.2007 14:33:51 von Smiley
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?
Re: Data from Other Websites
am 15.10.2007 14:37:57 von Erwin Moller
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