Uploading files
Posted: Fri Feb 09, 2007 12:53 pm
Hi everyone.
I am having a bit of a problem, and I was wondering if some one can help me. I am running PHP, Apache and MySQL on an XP Professional PC, and I am trying to write some code to be able to upload pictures to my site. I have not be able to set the permissions to get the files moved from the temp upload folder to the location I want to put them.
Also, something odd is happening, If I do not specified a location to move the files, then it uses the root folder and move the files there, the wired thing is, that when I run the script the first time, it does not move the file and yet shows not errors or warnnings, but if I run it again, then it does move the file.
Does anyone have any ideas or guide lines ? I would really appreciate it.
Thanks.
I am having a bit of a problem, and I was wondering if some one can help me. I am running PHP, Apache and MySQL on an XP Professional PC, and I am trying to write some code to be able to upload pictures to my site. I have not be able to set the permissions to get the files moved from the temp upload folder to the location I want to put them.
Also, something odd is happening, If I do not specified a location to move the files, then it uses the root folder and move the files there, the wired thing is, that when I run the script the first time, it does not move the file and yet shows not errors or warnnings, but if I run it again, then it does move the file.
Does anyone have any ideas or guide lines ? I would really appreciate it.
Thanks.