[PHP] Re: unless something...

2002-09-12 Thread Neophyte
if ($A != $C || $B != $C) { I think, but im fairly new "Magnus Solvang" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > I'm used to the unless-statement in perl... How do I do this: > > if string A or B are NOT in string C, then do something and quit. > > I

[PHP] Re: local and global variables

2002-09-12 Thread Neophyte
eg ... $var = 'value'; function myFunction($var2) { GLOBAL $var; $var = $var2; } "Skitum" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Hi all, Maybe a stupid question, but i have to make it: How can a local variable pass its value to a global one? I

[PHP] Re: IPlanet Webserver

2002-09-11 Thread Neophyte
If PHP is setup and working fine and simply not getting POST or GET vars, it can depend on the PHP version you have installed. but the $HTTP_POST_VARS and $HTTP_GET_VARS should work on any version of PHP4. If your still having trouble and using those arrays then im unsure as to what else could b