Re: [nyphp-talk] single quote vs. double quote

2007-04-02 Thread Anirudh Zala
On Tuesday 03 April 2007 06:46, David Krings wrote: > Hi! > > The old topic is at it again. After some long long time I started again > with doing some PHP. Task: internationalize my existing project. Goal: > read strings from a text file. First step: open the file. > > I used this: > $langfile = f

RE: [nyphp-talk] single quote vs. double quote

2007-04-02 Thread Ken Robinson
At 10:09 PM 4/2/2007, Hans Zaunere wrote: > Processor speeds being what they are, the only good reason to use > single quotes is so you don't have to use the shift key while you type > your code. True, but I still like the ability to quickly look at a string and know wheather it should contain v

RE: [nyphp-talk] single quote vs. double quote

2007-04-02 Thread Hans Zaunere
csnyder wrote on Monday, April 02, 2007 10:05 PM: > On 4/2/07, David Krings <[EMAIL PROTECTED]> wrote: > ... > > $langfile = fopen('$langfileloc', 'r'); > > and constantly had it fail. > ... > > Which makes me wonder as some long time ago we > > had this nice discussion that ended with sth like "

Re: [nyphp-talk] single quote vs. double quote

2007-04-02 Thread csnyder
On 4/2/07, David Krings <[EMAIL PROTECTED]> wrote: ... $langfile = fopen('$langfileloc', 'r'); and constantly had it fail. ... Which makes me wonder as some long time ago we had this nice discussion that ended with sth like "one needs only the single quote for everything in PHP". Ah, no. The

[nyphp-talk] single quote vs. double quote

2007-04-02 Thread David Krings
Hi! The old topic is at it again. After some long long time I started again with doing some PHP. Task: internationalize my existing project. Goal: read strings from a text file. First step: open the file. I used this: $langfile = fopen('$langfileloc', 'r'); and constantly had it fail. The pat

[nyphp-talk] PHP auction software / experiance & comments

2007-04-02 Thread Ben Sgro \(ProjectSkyline\)
Hello Again, I've been researching auction software .. and since I really dont want to attempt to write this kind of stuff, I need to find something that works well out of the box, plus includes the source (since I will be integrating it into another site). So far, the most promising software

[nyphp-talk] DB-based sessions and destructing objects problem

2007-04-02 Thread Cliff Hirsch
I am implementing a MySQL-based session handler and am confused by the dialog in the PHP manual regarding this issue: "Write and Close handlers are called after destructing objects since PHP 5.0.5. Thus destructors can use sessions but session handler can't use objects. In prior versions, they wer