Skip to Content.
Sympa Menu

sm-discuss - Re: [SM-Discuss] weird php/apache bug

sm-discuss AT lists.ibiblio.org

Subject: Public SourceMage Discussion List

List archive

Chronological Thread  
  • From: Jonathan Evraire <evraire AT tuwg.com>
  • To: Ryan Abrams <rabrams AT metalab.unc.edu>
  • Cc: sm-discuss AT lists.ibiblio.org
  • Subject: Re: [SM-Discuss] weird php/apache bug
  • Date: Tue, 3 Sep 2002 20:08:21 +0000 (UTC)

Hi Ryan,
from what I recall, as of PHP 4.2 you have to turn on an option to get
GET and POST variables set automatically. You should however be able to
access them using the $GET[] and $POST[] arrays respectively, so using
your example: "http://localhost/index.php?page=1&name=blah";, you would get
them as $GET['page'] and $GET['name']. ($POST[] variables happen when you
use method="post" in your form)

Hope this helps!

Jonathan Evraire
evraire at tuwg.com



On Tue, 3 Sep 2002, Ryan Abrams wrote:

> Ok.. so I recently got a dual 500 that i dedicated to sourcemage. I am
> trying to get the holy trinity of php/apache/mysql up and running, and
> have encounterd a few issues.
>
> Most are just things that I haven't had time to configure yet, but one is
> absolutely beyond me..
>
> apparently php is not passing variables from the url to the script..
>
> so if i put in "http://localhost/index.php?page=1&name=blah"; i get back
> index.php parsed, but with $page and $name not existing as variables in
> the page.
>
> ARGH.
>
> Anyone know what this is?
>
> Thanks,
>
> Ryan
>
> _______________________________________________
> SM-Discuss mailing list
> SM-Discuss AT lists.ibiblio.org
> http://lists.ibiblio.org/mailman/listinfo/sm-discuss
>
>
>





Archive powered by MHonArc 2.6.24.

Top of Page