Hi all,
I'm not sure what is happening with this URL.
I have this same script running with 4 URLs, but this one is the only one returning a 404 when using file_get_conten ts.
Just in case, allow_url_fopen is On
This is the URL: http://www.ofertasimpl e.com/buenos-aires
This is the code:
May this be related to headers? or a security method to prevent content being retrieved?
Thanks in advance!
I'm not sure what is happening with this URL.
I have this same script running with 4 URLs, but this one is the only one returning a 404 when using file_get_conten ts.
Just in case, allow_url_fopen is On
This is the URL: http://www.ofertasimpl e.com/buenos-aires
This is the code:
Code:
<?php
header('Content-Type: text/html; charset=UTF-8');
$da = file_get_contents('http://ofertasimple.com/buenos-aires/');
echo $da;
?>
May this be related to headers? or a security method to prevent content being retrieved?
Thanks in advance!
Comment