Saving a file to a network address
Posted 17 October 2006 - 07:46 AM
$target_path = "videos\";
Now I want to change this path so that it goes to the correct server and then the folder something like
$target_path = "\\PCname\folderondrive\";
Is this possible?
Posted 17 October 2006 - 08:10 AM
What OS is are you using?
Posted 17 October 2006 - 08:26 AM
Posted 17 October 2006 - 12:43 PM
Now I am in no way sure if this will work or not but here we go..
in the path just use ../ as many times as it takes to get to that to the c: directory then choose your network folder. In my home pc I have the root directory as C:\home then the domains under that so...
I would do something like this.
$path = '../../documents and settings/The user/nethood/the server';
The net hood directory will most likely be hidden so you may want to show hidden files and folders for that directory..
Like I said I am unsure if this will work or not..
Posted 17 October 2006 - 12:58 PM
What web server you using IIS or Apache??
Do you need the files to be saved on a PC other than the web server??
If different do you have admin access to that PC??
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users