[ create a new paste ] login | about

Link: http://codepad.org/hTOUJPPw    [ raw code | output | fork ]

PHP, pasted on May 21:
1
2
3
4
5
6
7
8
9
10
11
<html>
<head>
<title>PHP File Upload Example</title>
</head>
<body>
<form enctype="multipart/form-data" method="post" action="uploadFile.php">
<input type="file" name="fileToUpload" /><br />
<input type="submit" value="Upload File" />
</form>
</body>
</html>


Output:
1
2
3
4
5
6
7
8
9
10
11
<html>
<head>
<title>PHP File Upload Example</title>
</head>
<body>
<form enctype="multipart/form-data" method="post" action="uploadFile.php">
<input type="file" name="fileToUpload" /><br />
<input type="submit" value="Upload File" />
</form>
</body>
</html>


Create a new paste based on this one


Comments: