Page 1 of 1

URGENT !@! XAMPP NETWORK FILE ACCESS PROBLEM

PostPosted: 08. March 2010 17:08
by tchall
Hello
I have installed Xampp and using it for some time.
Quite stable

I am running some scripts that
@unlink("\\\\CHANNEL\\History\\".$SelectedFileName);

unlink across the network.
however it will not access files across the network.

I have tested it accessing files locally, that's ok unlinks files on local server.
but not on networked one.... i have made sure network resource is unprotected ie no password
and all firewalls are off.

Is there some setting in Xampp that stops it from accessing files across the network
or anyone have any suggestions why this does not work.

Re: URGENT !@! XAMPP NETWORK FILE ACCESS PROBLEM

PostPosted: 10. March 2010 20:33
by onjefu
I don't know how good the unlink() php function is, but can I suggest mapping the network resource to a drive letter?
So you would have something like @unlink("Z:\History\".$SelectedFileName);

Re: URGENT !@! XAMPP NETWORK FILE ACCESS PROBLEM

PostPosted: 10. March 2010 20:35
by onjefu
According to the php documentation, there are issues using this funciton with windows. Perhaps that is a good place to start for help with this problem.

http://www.php.net/manual/en/function.unlink.php#86062