Re: is_uploaded_file() emulation?

From: Date: Wed, 27 Feb 2002 19:03:48 +0000
Subject: Re: is_uploaded_file() emulation?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-86451@lists.php.net to get a copy of this message
On Tue, 2002-02-26 at 13:22, Bogdan Stancescu wrote: > Hello all! > > How do I find out if a file was actually uploaded /without/ using > is_uploaded_file()? First: Why not use is_uploaded_file()? Second Second: What version of PHP are you using? Torben > My first though is that I should use fileowner() on the file and see if > it's the same as the user who runs PHP (Apache) - but how do I find that > out? I don't want to use exec("id -u") either because the syntax may be > different for distinct systems and I'd like to avoid system calls if > possible. > > I'm open to any suggestions to solve the original problem - not > necessarily using UID's. > > Thanks! > > Bogdan > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > -- Torben Wilson <torben@php.net> http://www.thebuttlesschaps.com http://www.hybrid17.com http://www.inflatableeye.com +1.604.709.0506

« previous php.general (#86451) next »