Hello
I have this script running under PHP4.03/Apache1.3.12/Win2000, with a defined /xml/ alias
<?php
$file = "/xml/links.xml";
...
...
if (!($fp = fopen($file, "r"))) {
die("could not open XML input");
}
that generates this error:
«Warning: fopen("/xml/links.xml","r") - No such file or directory»
The only way to make it work is by using $file="http://cart/xml/links.xml";
What's wrong with it?