NYCPHP Meetup

NYPHP.org

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

Phil Powell soazine at erols.com
Sun Dec 29 02:09:40 EST 2002


Again, I can't do that.  The file must be set to 0755 and I can only do it
remotely because the chatroom is on a remote server, and I am legally not
allowed to have a webserver running here in Northern Virginia.

Phil
----- Original Message -----
From: "CHUN-YIU LAM" <chun_lam at hotmail.com>
To: "NYPHP Talk" <talk at nyphp.org>
Sent: Saturday, December 28, 2002 8:36 PM
Subject: Re: [nycphp-talk] Sorry, really stupid question...


> 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
>  >
>  >
>  >
>  >
>
>
>
>
>
>
>
> _________________________________________________________________
> 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&S
U=
>
http://www.hotmail.msn.com/cgi-bin/getmsg&HL=1216hotmailtaglines_eliminatevi
ruses_3mf
>
>
>
> --- Unsubscribe at http://nyphp.org/list/ ---
>
>




More information about the talk mailing list