Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Apr 2003 19:55:41 -0700
From:      Jim Mock <mij@soupnazi.org>
To:        Konrad Scorciapino <fallenbr@uol.com.br>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Apache and PHP
Message-ID:  <E946CA46-6FB6-11D7-9B49-000393460DB2@soupnazi.org>
In-Reply-To: <200304151000.02424.fallenbr@uol.com.br>

next in thread | previous in thread | raw e-mail | index | archive | help
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@soupnazi.org     web: http://soupnazi.org -
- freebsd project: jim@FreeBSD.org    opendarwin: mij@opendarwin.org -



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E946CA46-6FB6-11D7-9B49-000393460DB2>