|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2002-01-28 03:42 UTC] yohgaki@php.net
Cannot upload one but files... with ZE1. Segfaults with ZE2 :(
(IE6.0 & W2K/ Mozilla 0.9.7+ & Linux)
======= begin =======
<html>
<head>
<title>File Upload Test</title>
<meta http-equiv="Content-Type" content="text/html; charset=EUC-JP">
</head>
<body bgcolor="#FFFFFF">
<pre>
$HTTP_POST_FILES
<?php
// Data about Uploaded Files are stored in array in $HTTP_POST_FILES["input_name"]
if (isset($HTTP_POST_FILES)) {
print_r($HTTP_POST_FILES);
}
?>
</pre>
<form enctype="multipart/form-data" action="file_upload.php" method="post">
<input type="text" name"text" value="TEST">
<input type="hidden" name="MAX_FILE_SIZE" value="100000000">
Send this file: <input type="file" name="userfile[]">
Send this file: <input type="file" name="userfile[]">
<input type="submit" value="Send File">
</form>
</body>
</html>
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Oct 22 09:00:01 2025 UTC |
$HTTP_POST_FILES["input_name"] if (isset($HTTP_POST_FILES)) { print_r($HTTP_POST_FILES); } There is a missing ; if i add it i see no effect without it i dont get any response (only headers) and the apache error log tells me that there is a parse error in line... Shouldn't that parse error get printed to the http stream?