PHP & Apache Help

Rich Caloggero rjc at MIT.EDU
Sun Jul 28 13:52:08 EDT 2002


The form variables are in $_POST for post variables, $_GET for get variables
and $_COOKIE for cookie variables. Case is significant here -- these
variable names are all caps!!
They are associative arrays whose key is the name of the variable you want
to reference. So, to reference the form variable $v sent via post method
you'd use something like: $_POST["v"]


                    Rich

----- Original Message -----
From: "Chris Nestrud" <ccn at uark.edu>
To: <speakup at braille.uwo.ca>
Sent: 27 July, 2002 3:06 PM
Subject: Re: PHP & Apache Help


If you're using the latest version of php, form variables are in an
array rather than simple global variables. I believe their is a setting
in php.ini to switch to the older behavior.

Chris

On Tue, Jul 16, 2002 at 09:17:52PM -0700, Steve Holmes wrote:
> I'm trying to set up some web based applications using php in
> conjunction with the apache web server as configured under slackware
> 8.0.  I compiled and installed php and that appears to be working ok
> but I can't seem to process any variables that come in from forms.  I
> know this is broad and possibly vague but I might be curious as to how
> others might have httpd.conf for apache set up for processing post
> from forms.  I'm doing my development in a public_html directory in my
> private user-id right now and apache finds the docs ok and PHP runs
> the scripts; the input variables keep coming up empty even though I
> have data in them.
>
> Am I missing sometyhing big here?
>
> Thanks for any help even if it is off topic:) <sory>
>
> _______________________________________________
> Speakup mailing list
> Speakup at braille.uwo.ca
> http://speech.braille.uwo.ca/mailman/listinfo/speakup







More information about the Speakup mailing list