[nycphp-talk] Sorry, really stupid question...
CHUN-YIU LAM
chun_lam at hotmail.com
Sat Dec 28 20:36:05 EST 2002
Another question is why chmod in php script? Unless you are trying to
simulate semaphore, you don't need to do chmod in the script. If you are
trying to simulate semaphore, this is a bad practice. You can do that on the
shell if we are talking about *nix. If we are talking about windows, then
you can forget about it.
Matthew
----Original Message Follows----
From: Brian <brian at preston-campbell.com>
Reply-To: talk at nyphp.org
To: NYPHP Talk <talk at nyphp.org>
Subject: Re: [nycphp-talk] Sorry, really stupid question...
Date: Sat, 28 Dec 2002 19:40:59 -0500
Received: from mc6-f40.law1.hotmail.com ([65.54.252.176]) by
mc6-s20.law1.hotmail.com with Microsoft SMTPSVC(5.0.2195.5600); Sat, 28 Dec
2002 16:44:15 -0800
Received: from parsec.nyphp.org ([66.250.131.26]) by
mc6-f40.law1.hotmail.com with Microsoft SMTPSVC(5.0.2195.5600); Sat, 28 Dec
2002 16:44:15 -0800
Received: from nyphp.org (parsec.nyphp.org [66.250.131.26])by
parsec.nyphp.org (8.12.6/8.12.6) with ESMTP id gBT0exSt037993;Sat, 28 Dec
2002 19:40:59 -0500 (EST)(envelope-from listmaster at nyphp.org)
Message-Id: <200212290040.gBT0exSt037993 at parsec.nyphp.org>
X-Paralist-Archived: <http://nyphp.org/list/paralist_archive.php?L_mid=2058>
X-List-Software: Paralist 0.6
List-ID: <nyphptalk.nyphp.org>
List-Owner: <mailto:listmaster at nyphp.org>
List-Archive: <http://nyphp.org/list/paralist_archive.php?L_lid=1>
List-Subscribe: <http://nyphp.org/list/>
List-Unsubscribe: <http://nyphp.org/list/>
Organization: New York PHP
X-Mailer: Paramail 0.5
Return-Path: listmaster at nyphp.org
X-OriginalArrivalTime: 29 Dec 2002 00:44:15.0593 (UTC)
FILETIME=[69C95590:01C2AED3]
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/ ---
_________________________________________________________________
MSN 8 with e-mail virus protection service: 3 months FREE*.
http://join.msn.com/?page=features/virus&xAPID=42&PS=47575&PI=7324&DI=7474&SU=
http://www.hotmail.msn.com/cgi-bin/getmsg&HL=1216hotmailtaglines_eliminateviruses_3mf
More information about the talk
mailing list