Re: create a chmod'd file
| From: | Alex Earl | Date: | Fri, 13 Jun 2003 18:37:12 +0000 |
| Subject: | Re: create a chmod'd file | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-151399@lists.php.net to get a copy of this message | ||
> I have a script that creates a php file based on user input. I need this
> newly created file to have write permissions - chmod 777. How can I have
> the script create the file with these permissions already set? Is this
> possible?
>
> Thanks,
>
> Matt
How are you creating the file? fopen()? touch()? Give a little more
information please.
Alex