Upload File

SMS-MY
SMS-MY Publié le July 31, 2023

= $maxsize) {$_SESSION["message"] = "File too large. File must be less than 200MB.";} else{//Upload if(move_uploaded_file($_FILES["file"]["tmp_name"],$target_file)) {//insert record $sgl ="INSERT INTO video, (name,location) VALUES('".$name."','".$target_file."')"; mysql_query($con,$sql); $_SESSION["message"] = "Upload successfully."; } } } else{$_SESSION["message"] = "Invalid file extension.";} else { $_SESSION["message"] = "Please select a file."; } header("location: index.php"); exit; ?>

Upload Video

Continue de lire

Plus d'articles de notre blog

How to Download July 31, 2023