Apache and PHP

Jim Mock mij at soupnazi.org
Tue Apr 15 19:55:51 PDT 2003


On Tuesday, April 15, 2003, at 06:02  AM, Konrad Scorciapino wrote:
> Hello,
>
> I am running Apache with mod_php and when I try something like `echo 
> $a` in a webpage like `/foo.php?a=bar`, I get no results.
>
> Could this be a problem with apache? What could be wrong?

Fix your PHP code to use $_REQUEST['$a'] or $_GET['a'], or turn on 
register_globals in php.ini (not really recommended).

- jim

-- 
- jim mock.     email: mij at soupnazi.org     web: http://soupnazi.org -
- freebsd project: jim at FreeBSD.org    opendarwin: mij at opendarwin.org -



More information about the freebsd-questions mailing list