By phpzag
via phpzag.com
Submitted: Feb 05 2013 / 17:52
PHP strongly allow you to play with remote files. You can easily read content from remote files and also write them. For doing this, you just need to enable allow_url_fopen in your php.ini file. By enabling it, you can use HTTP and FTP URLs with most of the functions that take a file name as a parameter. Since PHP 5.2.0 has enabled allow_url_include in php.ini, the URL can also be used with the include, include_once, require and require_once statements.
Add your comment