[FX.php List] Uploading files quandry

Erik Andreas Cayré erik at cayre.dk
Sun Aug 6 06:28:27 MDT 2006


Den 06/08/2006 kl. 6.10 skrev Andy Gaunt:

> However, it will not move the file using
>
>    $target = “uploadFiles/”;
>
>    move_uploaded_file($_FILES['photo']['tmp_name'], $target))
>
> I just get errors when checking.
>
> Any ideas. My brain is fried getting ready for DevCon!
It may be a permissions issue.
I have no experience using Windows as the server platform for php,  
but on UNIX (-related) systems, your script mostly runs as the web  
server user 'www'. This user must have write access to the  
destination directory...

---
Erik Andreas Cayré
Spangsbjerg Møllevej 169
DK-6705 Esbjerg Ø

Home Tel: +45 75150512
Mobile: +45 40161183


-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 1856 bytes
Desc: not available
Url : http://www.iviking.org/pipermail/fx.php_list/attachments/20060806/602e76f5/smime.bin


More information about the FX.php_List mailing list