note 71507 deleted from features.file-upload by nlopess
| From: | nlopess@php.net | Date: | Sat, 02 Dec 2006 23:25:26 +0000 |
| Subject: | note 71507 deleted from features.file-upload by nlopess | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-120242@lists.php.net to get a copy of this message | ||
Note Submitter: Stefan
----
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!