البرمجية شغالة عندي على سبع مواقع ... بس اليوم عم ركبها على موقع فما اشتغلت كأنو المشكلة بالموقع:
الكود هو :بالصفحة الأولى:
<form method="POST" action="test.php" enctype="multipart/form-data"> <input type="file" name="file" size=30> <input type=submit> </form>
الصفحة التانية:
$path="images"; //Absolute path to where images are uploaded. No trailing slash
copy($file, "$path/$file_name")or die("The file you are trying to upload couldn't be copied to the server");بالعادة لما أعطيه أمر echo$file; بيعطيني أرقام غريبة بس بهاد الموقع ما بيعطي شي... جربت أعطيه $file=$_POST[file];وما مشي الحال
شو القصة

