Re: Fileupload: Nothing in TMP-dir
| From: | idban secandri | Date: | Tue, 17 Oct 2000 23:00:04 +0000 |
| Subject: | Re: Fileupload: Nothing in TMP-dir | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-20728@lists.php.net to get a copy of this message | ||
On Tue, Oct 17, 2000 at 09:31:45PM +0200, Oliver Kuhl wrote:
> Hi!
>
> I'm trying to upload a file via http-post. The File seems to be uploaded,
> but I cannot find it in the /tmp Directory. The path returned by the form is
> this: /tmp/phpTmXKcM, but there is no file like this. Is it a problem of the
> lifetime of the file? I looked at the config-files of apache and php. The
> was not upload_tmp_dir in php.ini, so I changed it to /tmp, but there was no
> change. I looked at the httpd.conf-file, but I found nothing about a
> upload-dir. So whats going wrong?
>
> Here is a peace of my Form-Code.
>
> <FORM name="angebot" action="<? echo $action ?>"
> ENCTYPE="multipart/form-data" method=post>
> <INPUT TYPE="hidden" name="MAX_FILE_SIZE"
> value="1000000"><INPUT type="file"
> name="image" style="width:400px;">
>
>
> Please help me!
>
> Greetings,
>
> Oliver.
usually, /tmp can written by anybody, try ask your sysadmin about this
perhaps your server not allow to write on /tmp
--
new era of web counter, Free Emoticon Counter
http://www.click2scripts.com/free