If you're using Apache, have you considered suexec? You can write an external script that takes care of that.
Marco ----------- php|architect -- The Monthly Magazine For PHP Professionals Visit us on the web at http://www.phparch.com! On Tue, 5 Nov 2002, Charles Wiltgen wrote: > Hello, > > There doesn't seem to be a way to fopen() with permissions. > > Someone commenting on the PHP manual suggested writing a file via FTP (which > would allow me to specify a user name and password). > > Is this a reasonable thing to do? My plan is to create empty files via FTP, > and then fopen($thefile, "r")-ing from there (since I think that will be > faster than sending everything through an FTP server). > > Any feedback is appreciated, > > -- Charles Wiltgen > > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php