Thursday, January 2, 2014

How to create,uploads,and modify my files in php



HTML Script To upload a file in html format


Step:-1 

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>upload</title>
</head>

<body>
<form enctype="multipart/form-data" action="upload.php" method="post">
<label> choose file to upload!</label>
<input name="uploadfile" type="file"/>
<br />
<br />

And what you like to call <input name="title" type="text"/>
<br />
<input type="submit" value="upload file" />
</form>
</body>
</html>

No comments:

Post a Comment

Type Your Comments........