You are here: Re: Reading and saving URL content « PHP Language « IT news, forums, messages
Re: Reading and saving URL content

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.

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация