Ask a Question related to PHP Development, Design and Development.
-
Mathias Soeken #1
Problems with File Uploads
Hello,
I've written the following sourcecode:
<form action="test.php" method="POST" enctype="multipart/form-data">
<input type="file" name="datei">
<input type="submit">
</form>
// test.php
<?
echo $datei_name; // No output.
echo $_FILES['datei']['name']; // No output.
?>
Can anybody help me?
Mathias Soeken
Mathias Soeken Guest
-
Web File uploads
While trying to do a simple file upload via a web form, (enctype="multipart/form-data"), I've run into a problem that has me stymied. This is an... -
Specify temp directory and file name for file uploads?
I'm interested in understanding how MX processes file uploads. 1) By default, uploaded files seem to be placed in the... -
File Uploads
Hello You must use <form action="uploadItem.php" method="post" enctype="multipart/form-data"> gerwazy POLAND -
problems stopping file uploads?
I have tried many php scripts now to try and get a form to upload a file but nothing works. I know that the mulitpart enctype formdata is enabled... -
Problems mixing regular form fields with file uploads
I'm trying to build a form that includes both regular form fields, such as text inputs and checkboxes, along with file uploading. It seems, though,... -
Wm #2
Re: Problems with File Uploads
"Mathias Soeken" <soeken@pprojekt.de> wrote in message
news:8bb5359.0308100745.722d7d86@posting.google.co m...Did you do an extract($_POST) ? Otherwise you'll probably need echo> Hello,
>
> I've written the following sourcecode:
>
> <form action="test.php" method="POST" enctype="multipart/form-data">
> <input type="file" name="datei">
> <input type="submit">
> </form>
>
> // test.php
> <?
> echo $datei_name; // No output.
> echo $_FILES['datei']['name']; // No output.
> ?>
>
> Can anybody help me?
>
"$_POST['datei']". You're echoing $datei_name but I don't see that variable
anywhere.
Wm
DISCLAIMER: I'm a newbie, so my input is just a guess!
Wm Guest



Reply With Quote

