--- In php-list@yahoogroups.com, Wade Smart <[EMAIL PROTECTED]> wrote:

> Bryan, please respond below instead of on top of responses.
>
> In your php.ini you changed your upload_tmp_dir to where?
> 
> I dont know the default on windows but when I was on XP I set up my
development 
> environment like this:
> 
> C:\development\
> C:\development\tmp
> 
> And then my normal working files were
> 
> C:\development\clientname\
> 
> so my tmp was where I set it up to be.
> 
> Since this is your own computer you are working at then you can set
it to be 
> anyplace.
> 
> Once you set this you have to restart apache before it reads the
values in the 
> php.ini.
> 
> Wade
>
---
Okay, so I have to move the uploaded file from the temp folder to a
different folder then using PHP, right?

I tried copying a function from my book, but another problem arose:
there is supposed to be an automatic $_FILES superglobal, but this is
not the case for me. It gives me an error when I try to echo something
like $_FILES['upload']['name'] or such.

Once I get aorund this obstacle, I'll be able to try the new temp
folder stuff.

If you know why my $_FILES superglobal isn't working, please help.

Thank you very much

-bryan

Reply via email to