php3-list | 2000051

Re: [PHP3] Re: "file upload" on NT From: Maxwell Hung (maxwell_hung <email protected>)
Date: 05/02/00

I had this same problem.

You need to specify the temp dir in your php.ini. If
you don't have access to this get the person who does
to do it. I didn't set any permissions on the dir
specified and it worked first time. I'm at work so I
can't give you an example but if you want one mail me
and I'll send it to you later.

M@

--- Trond_Håvard_Hanssen
<Trond.Havard.Hanssen <email protected>> wrote:
> On Sun, 30 Apr 2000, Trond Håvard Hanssen wrote:
> >
> > I have a webpage that works fine on a Unix server.
> When I moved it over to
> > a NT server "file upload" didn't work. The NT
> server is using "PHP Version
> > 3.0.15" while the Unix server is using "PHP
> Version 4.0b4pl1"
> >
> > Why does this work differently ?
> > Is there something I have to differently between
> NT /Unix or the different
> > PHP versions?
> > Is there something special I have to do to use
> "file upload" on NT server?
> > Is there another way to transport files from a
> local machine to a NT
> > server?
> >
> > Regards
> > Trond (a new php user)
> >
> >
>
> I wrote this some days ago.
> first tanks for all the answers.
>
> I have tried out some of the suggestions i got, but
> it still wouldn't
> work.
> Now I think I know what the problem is:
> When I run the "phpinfo();", i found this:
> Directive Master Value Local Value
> upload_tmp_dir none none
>
> As I understand from this, there is no temp
> directory for file uploads in
> the php setup. Is this right?
> I'm not a root on the system. Is it possible to
> transport local files to
> the server without this tmp directory? Is it
> difficult to make this
> script?
> Does anyone have any example code, on how to do this
> without a tmp dir. or
> know were i can find example code/help.
>
> ragards
> Tond (PHP-dummy)
>
>
>
> --
> PHP 3 Mailing List <http://www.php.net/>
> To unsubscribe, send an empty message to
> php3-unsubscribe <email protected>
> To subscribe to the digest, e-mail:
> php3-digest-subscribe <email protected>
> To search the mailing list archive, go to:
> http://www.php.net/mailsearch.php3
> To contact the list administrators, e-mail:
> php-list-admin <email protected>
>
>

__________________________________________________
Do You Yahoo!?
Send instant messages & get email alerts with Yahoo! Messenger.
http://im.yahoo.com/

-- 
PHP 3 Mailing List <http://www.php.net/>
To unsubscribe, send an empty message to php3-unsubscribe <email protected>
To subscribe to the digest, e-mail: php3-digest-subscribe <email protected>
To search the mailing list archive, go to: http://www.php.net/mailsearch.php3
To contact the list administrators, e-mail: php-list-admin <email protected>