Re: fopen() with permissions?

From: Date: Wed, 06 Nov 2002 02:37:31 +0000
Subject: Re: fopen() with permissions?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-122904@lists.php.net to get a copy of this message
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 > > >

« previous php.general (#122904) next »