Par*_*ody 0 html php webserver
我使用以下表单在php..im中构建文件上传/ dwnload应用程序
<html>
<head>
<title>Upload Index</title>
</head>
<body>
<form enctype=“multipart/form-data” action=“files.php” method=“post”>
<p>Choose your file to upload!
<input name="uploadedfile" type="file" />
<input type="submit" value="Upload">
<br />
And what would you like to call it? <input name=“title” type=“text” />
</p>
<p><br />
</p>
</form>
</body>
</html>
Run Code Online (Sandbox Code Playgroud)
而不是去"files.php"它指向一些奇怪的URL ...像这样:http://project360.in/%C3%A2%E2%82%AC%C5%93files.php%C3 %A2%E2%82%AC%C2%9D?uploadedfile = buglog.txt&%E2%80%9Ctitle%E2%80%9D =任何想法应该做些什么来解决这个问题?
删除智能报价“ ”.
<form enctype="multipart/form-data" action="files.php" method="post">
<p>Choose your file to upload!
<input name="uploadedfile" type="file" />
<input type="submit" value="Upload">
<br />
And what would you like to call it? <input name="title" type="text" />
</p>
<p><br />
</p>
</form>
Run Code Online (Sandbox Code Playgroud)