Since the user Apache is running as created the file, it owns it too.

Make a quick PHP script to delete the files when ready.

HTH,

Peter Janett

New Media One Web Services
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
New Upgrades Are Now Live!!!
Windows 2000 accounts - Cold Fusion 5.0 and Imail 7.1
Sun Solaris (UNIX) accounts - PHP 4.1.2, mod_perl/1.25,
Stronghold/3.0 (Apache/1.3.22), MySQL 3.23.43
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
PostgreSQL coming soon!

http://www.newmediaone.net
[EMAIL PROTECTED]
(303)828-9882

----- Original Message -----
From: "Kenn Murrah" <[EMAIL PROTECTED]>
To: "php list" <[EMAIL PROTECTED]>
Sent: Wednesday, November 27, 2002 10:03 AM
Subject: [PHP] controlling ownership on file uploads ...


> Greetings.
>
> I've written a simple form to allow my clients to upload files to me, and
it
> works fine EXCEPT that the uploaded file is owned by "www" and I while I
can
> read the file, I don't have the necessary permissions to delete it when
done
> ...
>
> Since this site is being hosted elsewhere, is there a way I can control
> ownership so that I can delete the file?  I've written my ISP/web hoster
and
> received no response -- usually that's their subtle way of telling me I
> should ask the PHP quiestion here :-)
>
> Any and all help would be appreciated.
>
> Thanks,
>
> kenn
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to