NYCPHP Meetup

NYPHP.org

[nycphp-talk] Sorry, really stupid question...

Brian brian at preston-campbell.com
Sat Dec 28 19:40:46 EST 2002


Why chmod 755?  Wouldn't 666 suffice since you are not executing the text 
file?

Brian

On Saturday 28 December 2002 07:10 pm, CHUN-YIU LAM wrote:
> $fileID = fopen("nicknames.txt", "a") or
>    die("Could not open " . $path . "/nicknames.txt");
> chmod("nicknames.txt", 0755);
> fputs($fileID, $nickname . "\
");
> fflush($fileID);
> fclose($fileID);
>
> Get this.  This may not be your fault.  If you are looking at it from the
> web brower, you forget to put <BR>.
>
> Matthew
>
> _________________________________________________________________
> STOP MORE SPAM with the new MSN 8 and get 3 months FREE*.
> http://join.msn.com/?page=features/junkmail&xAPID=42&PS=47575&PI=7324&DI=74
>74&SU=
> http://www.hotmail.msn.com/cgi-bin/getmsg&HL=1216hotmailtaglines_stopmoresp
>am_3mf
>
>
>
> --- Unsubscribe at http://nyphp.org/list/ ---





More information about the talk mailing list