Re: Fileupload: Nothing in TMP-dir
| From: | Bojan Gajic | Date: | Wed, 18 Oct 2000 01:33:46 +0000 |
| Subject: | Re: Fileupload: Nothing in TMP-dir | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-20749@lists.php.net to get a copy of this message | ||
And file will be unlinked from tmp_dir after script execution...
idban secandri wrote:
> 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
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net