PDA

View Full Version : Uploaded file using PHP scripts are getting deleted of it's own


jitender.ind
9th August 2009, 19:43
Hi,

I'm having a very strange problem. I use lampp on centOS linux. My application has a upload Script (in PHP) which uploads file to file system. after upload and moving file to correct location, uploaded files are getting deleted. I check file upload and moving of file by putting all the status in a text log file. files are getting uploaded properly and after upload I'm able to move the files to it's correct location.

thanks,
Jitender Aryan

falko
10th August 2009, 10:33
So the problem is that files are getting deleted when they shouldn't? IS there maybe some kind of cron job that's doing this?

jitender.ind
10th August 2009, 11:10
I'm not using any cron job on the server. we have 3 different server on 2 servers code is working fine and only on one server, uploaded files are vanished just after upload. can it be some other server setting?

thanks,
Jitender Aryan

falko
11th August 2009, 16:48
Is SELinux disabled on the server?