זה כותב לי את השגיאה הבאה
Warning: rename(1photos/A_tuk.jpg,1photos/tuk.jpg) [function.rename]: No such file or directory in
הנה הקוד
PHP קוד:
$file=$num.'photos/'.$per.$usr.$dot.$ls;
$filen=$num.'photos/'.$usr.$dot.$ls;
$filea=$num.'photos/'.$per.$usr.$dot.$msuii;
unlink($file);
rename("$file", "$filen");
בעיקרון מה שזה עושה יש תמונה עם A_PICNAME.JPG
זה מעיף את הA_
עכשיו זה כותב לי את השגיאה
בגלל שזה לא מוגדר או אני לא משתמש בזה נכון?