[PHP-WIN] Re: Re: Yet another MySQL+PHP5 issue

2004-10-31 Thread colin_e
Further to the discussion begun by Jim Stapleton, I have worked out one more wrinkle. Some apps install elements in the path using shell variables, i.e.- PATH Entry Resolves To - %SystemR

Re: [PHP-WIN] Re: Re:[PHP-WIN] Strange 'if' test bug?

2004-08-31 Thread Frank M. Kromann
Hi Steve, 0 and "foo" are two different types (int and string). In order to compare these values they must be converted into the same type. PHP does that by converting "foo" to an integer and that value will be 0, hence the true value on compare with ==. when you use === to compare the two values

[PHP-WIN] Re: Re:[PHP-WIN] Strange 'if' test bug?

2004-08-31 Thread Steve McGill
Well gee, thanks a lot for that I can't imagine why 0 == "foo" should be TRUE, but there it is I will use === from now on. I was convinced this was related to windows because I've never noticed this behaviour with several years of experience with programming PHP on linux systems. Thanks

[PHP-WIN] Re: Re:[PHP-WIN] Strange 'if' test bug?

2004-08-31 Thread Nadim Attari
http://www.blueshoes.org/en/developer/php_cheat_sheet/ -- "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> a écrit dans le message de news:[EMAIL PROTECTED] According to me it's a very strange problem Test this please : $key = '0'; if($key == 'muppet') echo 'key is a muppet: ".$key; else

[PHP-WIN] Re: Re:[PHP-WIN] Strange 'if' test bug?

2004-08-31 Thread Steve McGill
Yes, I forgot to mention this: if $key=0, then $key == 'muppet'equates to TRUE if $key="0", then $key == 'muppet' equates to FALSE Bit crazy...? Steve "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> schreef in bericht news:[EMAIL PROTECTED] According to me it's a very strange problem Test this ple

[PHP-WIN] Re: Re:

2004-07-19 Thread Oliver John V. Tibi
Hey dude! I don't know if this address is spoofed but please check your box. Thanks! -- Running 'ojtibi' on '127.0.0.1' (BATCH_OPTIMISTIC mode). "Live free() or die()." "Ssb" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] -- PHP Windows Mailing List (http://www.php.net/) To uns

[PHP-WIN] Re: Re PEAR

2004-04-26 Thread Jason Barnett
Sudar wrote: Hai Janson Thanks for responding. The problem with me is that, right now I don't have access to the server. I have just got a virtual directory in which I have to upload my files and execute. And recently I PEAR files could be put under your document root, you don't *have* to have a

[PHP-WIN] Re: Re: The COM problem when converting from ASP to PHP[works now!!]

2004-04-24 Thread Steven Kidd
Thx Dvdmandt, I have enable it and use var pass by reference but it still doesn't work. However, when I switch to the PHP5 RC1, it works!~~ I use the recommonded php.ini setting( means the "pass by reference" is DISABLED ). my previous version is 4.3.6. I really love PHP 5! :) Strongly suggest a

[PHP-WIN] Re: Re: PHP 4.2.1 And WinXP

2002-06-10 Thread Steve Yates
"Fester" <[EMAIL PROTECTED]> wrote in message ae3dft$39s$[EMAIL PROTECTED]">news:ae3dft$39s$[EMAIL PROTECTED]... > Thank you very much. I see that I must access variables using $_POST['var'] > syntax. I'm disappointed that variable access appears not to be backward > compatible to earlier versio

[PHP-WIN] Re: Re: Re: PHP 4.2.1 And WinXP

2002-06-10 Thread Fester
"Stuart Dallas" <[EMAIL PROTECTED]> wrote in message news:ae3dq7$50l$[EMAIL PROTECTED]... > On Tuesday, June 11, 2002 at 3:39:21 AM, you wrote: > > Thank you very much. I see that I must access variables using $_POST['var'] > > syntax. I'm disappointed that variable access appears not to be bac

Re: [PHP-WIN] Re: Re: PHP 4.2.1 And WinXP

2002-06-10 Thread Stuart Dallas
On Tuesday, June 11, 2002 at 3:39:21 AM, you wrote: > Thank you very much. I see that I must access variables using $_POST['var'] > syntax. I'm disappointed that variable access appears not to be backward > compatible to earlier versions fo PHP, but such is life. It is. If you've read the notes

[PHP-WIN] Re: Re: PHP 4.2.1 And WinXP

2002-06-10 Thread Fester
Thank you very much. I see that I must access variables using $_POST['var'] syntax. I'm disappointed that variable access appears not to be backward compatible to earlier versions fo PHP, but such is life. Thank you again, Fester "Stuart Dallas" <[EMAIL PROTECTED]> wrote in message news:ae1qqm

[PHP-WIN] Re: Re:[PHP-WIN] UNC path as a link

2002-02-01 Thread Nicole Amashta
Thanks for the tip. I hadn't thought of it like that. Thanks and I'll try that in case it works. Nicole A. www.aeontrek.com "Michel Laine" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > I don't have any solution to your proble, but as i look at this code my

RE: [PHP-WIN] RE: RE: HTTP HEADER

2001-02-26 Thread Ignatius Teo
10:47 > To: [EMAIL PROTECTED] > Subject: [PHP-WIN] RE: RE: HTTP HEADER > > > This is what I get: > > Warning: Undefined variable: HTTP_REFERER in > c:\inetpub\wwwroot\drew.php on line 3 > > Warning: Undefined index: HTTP_REFERER in > c:\i

[PHP-WIN] RE: RE: HTTP HEADER

2001-02-26 Thread Randall Barber
This is what I get: Warning: Undefined variable: HTTP_REFERER in c:\inetpub\wwwroot\drew.php on line 3 Warning: Undefined index: HTTP_REFERER in c:\inetpub\wwwroot\drew.php on line 3 HTTP_REFERER is , , It is not defined and I am seriously perturbed :). I want to use Linux so badly, but I do