PDA

View Full Version : i cant't upload files Permission denied ?



byfobi
08-19-2008, 01:02 PM
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


copy($resim1, "resimler/$resim")) and (copy($oyun1, "oyunlar/$oyunbul2")

chatwizrd
08-19-2008, 01:35 PM
any other errors in apache error log

byfobi
08-20-2008, 08:43 AM
[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

nobaloney
08-21-2008, 02:54 PM
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