upload فایل
سوال
سلام برای داشتن یک فرم ساده آپلود در php این کد هارو دارم
<?php
$target_dir = "uploads/";
$target_file = $target_dir . basename($_FILES["fileToUpload"]["name"]);
$uploadOk = 1;
$imageFileType = pathinfo($target_file,PATHINFO_EXTENSION);
// Check if image file is a actual image or fake image
if(isset($_POST["submit"])) {
...
در حال بررسی
0
PHP, طراحی سایت 7 سال
1 پاسخ ها
کاربر تازه