Click to See Complete Forum and Search --> : Difference between all these methods
Peon
Jun 12th, 2008, 03:00 AM
I mean file_get_content and file and curl functions are used to get content of remote page but what are internal differences between all these methods?
Thanks.
killer7k
Jun 12th, 2008, 05:37 AM
from php.net
file_get_content : it read the file & get result into String
file : it read the file & get result into array
More Info (http://www.php.net/manual/en/function.file-get-contents.php)
Peon
Jun 12th, 2008, 05:59 AM
and curl? I think it does the same thing as file_get_contents.
RudiVisser
Jun 12th, 2008, 07:57 AM
cURL is more advanced and supports sending POSTData, custom headers, etc etc.
Peon
Jun 13th, 2008, 11:44 PM
What does it mean POSTdata?
RobDog888
Jun 14th, 2008, 12:29 AM
You may want to search the terms on http://php.net
vbforums.com
Copyright Internet.com Inc., All Rights Reserved.