PHP PART-3 CODE ?



PHP PART-3 CODE -:


index.php


<!DOCTYPE html>
<html>
<head>
<title>upload</title>
</head>
<body>
<form action="image.php" method="post" enctype="multipart/form-data">
Upload : <input type="file" name="file">
<input type="submit" name="sub" value="Upload">
</form>
</body>
</html>


image.php


<?php

print_r($_FILES['file']);

?>

No comments