Posted by VS on 02/16/07 18:36
sumguyovrthar wrote:
> You can't use fopen() on remote files. Try this instead:
> $file = implode( '', file( $$fichier_xml ) );
Rubbish !
(PHP 4, PHP 5)
fopen — Opens file or URL
This works for me:
$URL = "http://wwe.......";
if (!($remotefile = @ fopen("$URL", "r"))) {
//echo "Error: url could not be opened<br />\n";
die();
}
--
VS
Navigation:
[Reply to this message]
|