filesystem question
Posted: Mon Aug 19, 2002 12:46 pm
I had a script running on Windows, but decided on moving it to Mandrake. There is a small piece of code that doesn't seem to be working on Linux (listing shows original ver):
I changed under Linux $TmpFile to "/home/www/class/file.tmp" and "file.tmp" but the system states that the script has no right to copy the file. My DocumentRoot is "/home/www/" on Apache.
Anyone knows what I should change (maybe in php.ini or httpd.conf or even in the script itself) to make things work?
Code: Select all
$TmpFile="c:\\file.tmp";
if (is_uploaded_file($UserFile)){
copy($UserFile,$TmpFile);Anyone knows what I should change (maybe in php.ini or httpd.conf or even in the script itself) to make things work?