Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- Problems with move_uploaded_file()
July 28, 2008, 7:33 pm
rate this thread
I have a form where user can attach a resum=E9 and I want my script to
put it in the cv folder of the server and then send me the link by e-
However, I tried a lot of combinations with the move_uploaded_file()
but none seem to work.
Here is what it looks like:
move_uploaded_file($_FILES['fichier']['tmp_name'], "cv/" .
But no file in the cv directory, at all. I tried with /cv/, D:\SiteWeb
\Immobiluxe\cv\ (hard path to the directory on the server), I tried
only $_FILES['fichier']['name'] in the hope it would go in the current
directory, still nothing.
I used the getcwd() function to know which directory I'm in and it
tells me "D:\SiteWeb\Immobiluxe"
I also tried /SiteWeb/Immobiluxe/cv
I'm now out of things to try, also the file is in fact uploaded
Really I have no clue