$_GET variable got empty when running PHP as CGI

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Silas Justiniano

    $_GET variable got empty when running PHP as CGI

    Hello all!

    I'm running PHP 5.2.3 on the thttpd server on NetBSD 3.1. It is
    running as CGI fine, but when I pass arguments to a page like:

    page.php?one=fo o&two=bar&three =3

    I get a zero-size array in $_GET. var_dump($_GET) output is: array(0)
    { }, although the query string is in $_SERVER['QUERY_STRING'].

    Any clue?

    Thank you very much.

Working...