Jump to content

bettola

New Members
  • Posts

    4
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

bettola's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. I try with apache off, simply by php command line to execute the script but i receive same error. It seems that it isn't a web server problem, maybe there is something to set in php.ini
  2. It's clear that if I manually copy the file, the operation works. I try to add directory on apache configuration file. If I add root public directory server restart correctly. If I put the complete path to my folder, apache doesn't restart
  3. Hi Guys, I have a problem, i've made a program that simply copy dirs and sub dirs from a local folder to a public folder on a server. Theese folders are both labeled by letters, because on the LAN, public folders are mapped on computer folders. So i Have the c: (local drive), the d: (cdrom) e:(public lan folder) I use a function that make copies which I found on php.net. At the row: if(!@copy($path, $dest . '\\' . $file)){ echo '<font color="red">File ('.$path.') could not be copied to ('.$dest . '\\' . $file.'), likely a permissions problem.</font>'; script ends if I specify like destination path, a path on the public folder(E:). Everythings is gonna worked if I specify local path(C:) How I can solve?
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.