note 2623 modified in fopen by ronabop
| From: | ronabop@php.net | Date: | Sat, 02 Sep 2000 06:34:09 +0000 |
| Subject: | note 2623 modified in fopen by ronabop | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-3930@lists.php.net to get a copy of this message | ||
About writing to file with a specific user id:
You can usually change file permissions with FTP. Just open a FTP connection and say "chmod o+w
filename". It is also possible to use FTP connection to write the file, for example,
"fopen(ftp://user:password@ftpserver.address/file,w)". That way the file is created and
used with your username and password, which (IMHO) is more secure than having files with write
permission for all.
http://www.php.net/manual/function.fopen.php