i cant't upload files Permission denied ?

byfobi

Verified User
Joined
Oct 9, 2007
Messages
18
Hello, i have a problem while i trying to upload a file by programing. May be someone can help me:



oyunlar directory chmod 777
resimler directory chmod 777

copy(oyunlar/autotheft.swf) [function.copy]: failed to open stream: Permission denied in /home/reklamind/domains/reklamind.com/public_html/oyunlar.php on line 68
Dosya koppyalanamdi...

oyunlar.php line 68

PHP:
copy($resim1, "resimler/$resim")) and (copy($oyun1, "oyunlar/$oyunbul2")
 
[Tue Aug 19 16:02:04 2008] [warn] RSA server certificate CommonName (CN) `localhost' does NOT match server name!?
[Tue Aug 19 16:02:05 2008] [warn] RSA server certificate CommonName (CN) `localhost' does NOT match server name!?
[Tue Aug 19 16:04:40 2008] [error] [client 193.255.97.18] File does not exist: /home/reklamind/domains/reklamind.com/public_html/favicon.ico
[Tue Aug 19 16:04:43 2008] [error] [client 193.255.97.18] File does not exist: /home/reklamind/domains/reklamind.com/public_html/favicon.ico
 
None of those errors will impact the current condition. Check the ownership of the directory path you're trying to copy into, keeping in mind that which user the php is running as.

Jeff
 
Back
Top