[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 be wrong without seeing the code.

"Chris Boget" <[EMAIL PROTECTED]> wrote in message
00fc01c259a9$e4eede40$8c01a8c0@ENTROPY">news:00fc01c259a9$e4eede40$8c01a8c0@ENTROPY...
> Do any of you guys have experience setting PHP up
> with the IPlanet webserver?  We are trying it out (for
> a client) and we can't seem to get to so that PHP
> gets the POST or GET variables passed from a form
> and would like to talk with someone who's had experience
> working with or around this problem.
>
> Chris
>
>
>



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[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?
Is it possible?

Thanks in advance.

Peace & Love
skitum




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[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.
>
> In perl, I would do this:
>
> unless ($c =~ /$a|$b/) {
>   blabla
>   exit 0
> }
>
> - M



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php