Having some wierd, wierd problems with my Cobalt XTR.

PHP 4.1.2's installed on it (from Sun). I've never, ever been able to get $_REQUEST['query']; type stuff working on it, it always results with it being blank - no matter what I set Magic Quotes/Register globals to.

No idea why, but its suddenly stopped letting me use direct variables from the query string (i.e. $id in the sceneraio of blah.php?$id=blah).

Can't figure out why. Means all PHP on my server's now rendered pretty much useless.

See forwarded email below too, I sent a simular question (again) to the Cobalt users mailing list, but I never get any response.

Thanks.

R

On Friday, November 15, 2002, at 01:58 AM, xfesty wrote:
Hiya.

I'm having even *more* fun with PHP now (sigh). For some reason, the web interface on my XTR has completely stopped working. This happened a few weeks ago, but I never use it anyway, so it wasn't a biggie. I can't think of anything I did that would have caused it to happen.

I had a backup of a php.ini a while ago (was playing with it to get magic quotes [i.e. $_REQUEST] working), I restored this & restarted apache, but to no effect.

I just tried this simple PHP script:

<?
echo $id;
$id2 = $_REQUEST['id2'];
echo $id2;
?>

If I call this "test.php", theoretically browsing to http://website/test.php?id=TEST&id2=TEST should show up "TEST" twice.

Failing that, if register globals is on, $id should show up - and if magic quotes is on, $id2 should show.

Nothing's coming up. They're certainly enabled in php.ini.

PHP isn't seeing any of the stuff after ? (parameters I guess you could call them?)

Just tried to compile & install my own PHP (4.2.3) then, keeping backups - instead, webpages come up completely blank.

Aaargh. This isn't making any sense ;-(

Any ideas anybody?

R
-- -
Ryan Verner <[EMAIL PROTECTED]>

ICQ: 76626240                   IRC: xf / irc.oublinet.net
 PH: +61 415 297 303             EQ: Mummer (Bard), Tholuxe

propaganda as education, no rising above your station.
a totalitarian state, all the victims that can hardly wait.


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

Reply via email to