הרשם שאלות ותשובות רשימת חברים לוח שנה הודעות מהיום

חזור   הוסטס - פורום אחסון האתרים הגדול בישראל > עיצוב גראפי, תכנות על כל שפותיו וקידום ושיווק אתרים > פורום תיכנות

   
|!|

השב
 
כלים לאשכול תצורת הצגה
ישן 14-01-09, 21:34   # 1
ASTeam
חבר מתקדם
 
מיני פרופיל
תאריך הצטרפות: Jun 2006
הודעות: 580

ASTeam לא מחובר  

מוזר לי כי גם את העברת הקובץ הזמני לרגיל הוא לא מאפשר -
ציטוט:


Warning: chmod() [function.chmod]: Permission denied in D:\HostingSpaces\danan0142\yoman.org.il\wwwroot\so urces\index\cp.php on line 171

Warning: move_uploaded_file(images/img/b25.jpg) [function.move-uploaded-file]: failed to open stream: Permission denied in D:\HostingSpaces\danan0142\yoman.org.il\wwwroot\so urces\index\cp.php on line 172

Warning: move_uploaded_file() [function.move-uploaded-file]: Unable to move 'C:\Php5\uploadtemp\php35F6.tmp' to 'images/img/b25.jpg' in D:\HostingSpaces\danan0142\yoman.org.il\wwwroot\so urces\index\cp.php on line 172
ניסתי לשנות את הchmod בflashfxp אך כל פעם הוא חוזר ל755(במקום777)
כמו שמים לב, ניסתי לעשות את זה דרך PHP - אך השגיאה ההראשונה קשור לזה..

הקוד -
PHP קוד:
 
$uploadedfile 
$_FILES['uploadfile']['tmp_name'];
$ffile explode("."$_FILES['uploadfile']['name']);
$ffile[0] = 'b'.$blog['id'];
$efile $ffile[1];
$ffile implode("."$ffile);
$filename "images/img/"$ffile;
if (
file_exists($filename))
{
unlink($filename);
}
chmod('images/img/'0777);
move_uploaded_file($uploadedfile,$filename); 
__________________


Last edited by ASTeam; 14-01-09 at 21:36..
  Reply With Quote
השב

חברים פעילים הצופים באשכול זה: 1 (0 חברים ו- 1 אורחים)
 


חוקי פירסום
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is מופעל
סמיילים הם מופעל
[IMG] קוד מופעל
קוד HTML מכובה

קפיצה לפורום


כל הזמנים הם GMT +2. הזמן כעת הוא 02:21.

מופעל באמצעות VBulletin גרסה 3.8.6
כל הזכויות שמורות ©
כל הזכויות שמורות לסולל יבוא ורשתות (1997) בע"מ