Have you try to test whether the file is available or not ?
Maybe you should try somehting like this :
$xml_file = '192.168.10.2\\businesscard\\XML\\'.$xml_uniq_session.'.xml';
if (!file_exists($xml_file)) {
exit('File '.$xml_file.' does not exists or is unavailable');
} elseif (!is
After seeing this:
http://bugs.php.net/bug.php?id=25805
I think i know what the problem is.
Louie
On 10/25/07, Louie Miranda <[EMAIL PROTECTED]> wrote:
>
> Tried both..
>
> Use forward slashes for paths inside double quotes,
> fopen("192.168.10.2/businesscard/XML/" . $xml_uniq_session . ".
Tried both..
Use forward slashes for paths inside double quotes,
fopen("192.168.10.2/businesscard/XML/" . $xml_uniq_session . ".xml",
"w");
escape the backslashes themselves
fopen("192.168.10.2\\businesscard\\XML\\".$xml_uniq_session.".xml",
"w");
or single quotes
fopen('192.1
> I have this error when ever i try to save an xml file over a windows shared
> folder
>
> *Warning*:
> fopen(\\192.168.10.2\businesscard\XML\afbf7d1fb318054a5ba3e9d4cca0af.xml) [
> function.fopen]: failed to open stream: Invalid argument in *
> E:\\businesscard\create.php* on line *663*
>
> my c