porting apache + php for neutrino PowerPc


It seemed to me a trivial coding trick… but it does not work. I call my url page on apache like that:

my php script is:

<?php if ($param == 1) { echo "PARAM = 1"; } ?>

Supposed to work ???

Anybody having a clue


I know exactly nothing about PHP, but I wonder if the 1 should be quoted in your if statement? If that does not work, I think strstr (similar to C function) can compare strings, so you could try that

Hi there

This is most likly because register_globals is off in the php.ini.
You can find more information about this on php.net