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.
Printable View
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.
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
and curl? I think it does the same thing as file_get_contents.
cURL is more advanced and supports sending POSTData, custom headers, etc etc.
What does it mean POSTdata?
You may want to search the terms on http://php.net