note 71507 added to features.file-upload
| From: | Stefan at osu1 dot php dot net | Date: | Sat, 02 Dec 2006 23:21:04 +0000 |
| Subject: | note 71507 added to features.file-upload | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-120241@lists.php.net to get a copy of this message | ||
Hi, I need some help please.
I only need the filename provided in a browse box in a html form.
Now I use this script:
HTML-file:
<form enctype="multipart/form-data" action="admin.php"
method="post" name="createform">
<tr>
<td><font color="FF0032">MP3 #01 Uploaden</font></td>
<td><input type="file" name="mp31"></td>
</tr>
<td><input type="submit" value="Maak pagina">*<input
type="reset" value="Wissen"></td>
PHP-FILE:
$mp32t=$_POST["mp32t"];
$mp32n=$_FILES['mp32']['name'];
if($mp32n){
$somecontent2 .= "<song path=\"$mp32n\" title=\"$mp32t\" />";
};
I use the PHP file to write an XML file.
I just want the local filename (Windows). At this moment the file gets uploaded first and than
filename returns. But I want to use files larger than 7 MB and my Internet Explorer hangs after max
6 MB or something. Just the filename...:S....
Thanks for your help!
----
Server IP: 66.163.161.117
Probable Submitter: 80.126.7.111
----
Manual Page -- http://www.php.net/manual/en/features.file-upload.php
Edit -- https://master.php.net/note/edit/71507
Del: integrated -- https://master.php.net/note/delete/71507/integrated
Del: useless -- https://master.php.net/note/delete/71507/useless
Del: bad code -- https://master.php.net/note/delete/71507/bad+code
Del: spam -- https://master.php.net/note/delete/71507/spam
Del: non-english -- https://master.php.net/note/delete/71507/non-english
Del: in docs -- https://master.php.net/note/delete/71507/in+docs
Del: other reasons-- https://master.php.net/note/delete/71507
Reject -- https://master.php.net/note/reject/71507
Search -- https://master.php.net/manage/user-notes.php