Reply to Re: file()

Your name:

Reply:


Posted by iktorn on 04/01/07 13:55

cmk128@hotmail.com napisał(a):
> $lines2 = file('http://www.google.com');
> print_r($lines2);
> this doesn't work too
>
"File" is not the best way to download other page, try curl
http://php.net/manual/pl/ref.curl.php
If you scroll down, class written by Sean Huber can be a good start to
understand better curl functions.

Just copy that class and type this
$c = new CURL();
print_r($c->get("http://www.google.nl"));


--
Wiktor Walc
http://phpfreelancer.net

[Back to original 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

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