TRY AGAIN mysql php4.04 and safe_mode
| From: | andreas \(@work\) | Date: | Sat, 13 Jan 2001 15:13:49 +0000 |
| Subject: | TRY AGAIN mysql php4.04 and safe_mode | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-34366@lists.php.net to get a copy of this message | ||
hi list,
sorry, but we cant manage
a Load Data Infile
cause we always get:
Can't get stat of '/tmp/phpNNAQSM' (Errcode: 2)
OUR Code is working fine in different project where safe_mode = OFF
=============================
heres the line where we try to move the file to a webfolder in our
directory
move_uploaded_file ($textfile,
"/home/sites/site2/web/Tango/tmp/mySql.txt");
chmod("/home/sites/site2/web/Tango/tmp/mySql.txt", 0644);
=============================
any ideas for us ?
is there a way that we can set the upload_tmp_dir path in a .htaccess file
?
its also not working if we edit php.ini
upload_tmp_dir = .
thank you
andreas