You are here: Re: Save webpage « PHP Programming Language « IT news, forums, messages
Re: Save webpage

Posted by Alix Axel on 09/09/07 17:44

CURL will do great, I don't have the code right here but check:

CURLOPT_HTTPAUTH
CURLOPT_USERPWD
CURLOPT_URL
CURLOPT_TIMEOUT
CURLOPT_HEADER
CURLOPT_FOLLOWLOCATION
CURLOPT_RETURNTRANSFER
CURLOPT_SSL_VERIFYPEER
CURLOPT_SSL_VERIFYHOST
CURLOPT_COOKIEJAR
CURLOPT_COOKIEFILE
CURLOPT_POST
CURLOPT_POSTFIELDS
CURLOPT_REFERER
CURLOPT_USERAGENT

Just learn about it on the PHP Manual.

On Sep 9, 9:09 am, facebk...@gmail.com wrote:
> Hi all expertise,
>
> Could anyone tell me how to simulate a user (with correct browser
> setting, etc) to access, walk through and save a facebook webpage
> (e.g. a friend listing page) using php? I know curl may able to do
> similar stuff, however, I am not sure what kind of setting should I
> need. Also is there any sample code?
>
> Notes: since facebook need to login before accessing the other page,
> so a simulation of browsing will be needed as well.
>
> Best regards,
> Guy

 

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

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