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
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
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
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
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
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
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
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
"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
"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
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
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
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
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
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
15 matches
Mail list logo