|
Posted by johan on 01/09/06 16:02
On Tue, 03 Jan 2006 03:40:18 -0800, kinh wrote:
>
> I can use fopen($url, 'r') and fgets() to get the contents and read all
> the data back into a file. That's the easy part. But the data returned is
> not the correct one at Step 1. It returns something like the custom
> page-not-found error. I guess the redirection causing that problem.
> If I continue to read the content as Step 2, I get an empty page: seems
> like the 'state' session variable has not been defined in Step 1.
>
> Could someone help me with this problem ? Thanks,
See the CURL functions:
http://php.belnet.be/manual/en/ref.curl.php
and on your favorite mirror , of course.
[Back to original message]
|