Re: $_GET and $_POST arrays not working

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



You would access them by declaring them as regular variables and then using
the regular variables in your code.

<?php 

$username = $_POST['Username'];
$password = $_POST['Password'];
$email = $_POST['Email'];

?> 


As a side note - please do NOT turn global variables on in your php.ini
file.  There is a good reason for why it is shut off and "good" php does not
need to have it turned on.

Hope that helps .


<?php
/*

Stephen Johnson c | eh
The Lone Coder

http://www.ouradoptionblog.com
Join our journey of adoption

http://www.thelonecoder.com
stephen@xxxxxxxxxxxxxxxx

continuing the struggle against bad code

*/ 
?>


> From: Unknown Unknown <phpinfolist@xxxxxxxxx>
> Date: Fri, 25 Nov 2005 17:38:02 -0500
> To: Richard Davey <rich@xxxxxxxxxxxxx>
> Cc: <php-general@xxxxxxxxxxxxx>
> Subject: Re:  $_GET and $_POST arrays not working
> 
> 

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux