>
> if ( ! (isset($_GET['x']) && $_GET['x'] == 20) )
> {
> // Do something by returning an error
> }
>
> Can this ever be correct when the form looks like:
>
>
>
>
>
> ?
I sometimes do things similar to this. I normally use it when I am opening
a new page vi
On Thu, 2008-07-31 at 06:41 +0200, Nitsan Bin-Nun wrote:
> Umm I suggest you try this code:
>
> index.php:
>
> $formContainer = <<
Those ampersands should be appropriately marked up.
:B
Cheers,
Rob.
--
http://www.interjinn.com
Application and Templating Framework for PHP
--
PHP Ge
Umm I suggest you try this code:
index.php:
EOF;
if (!isset($_POST['submitted']))
echo $formContainer;
else
{
echo "";
var_dump($_GET);
echo "\n\n\n";
var_dump($_POST);
echo '';
echo $formContainer;
}
?>
HTH,
Nitsan
2008/7/31 Robert Cummings <[EMAIL PROTEC
On Wed, 2008-07-30 at 22:18 -0400, Edward Diener wrote:
> In handling an HTTP POST request I came across some PHP code, which I
> need to modify for my own purposes, which has code like this:
>
> if ( ! (isset($_GET['x']) && $_GET['x'] == 20) )
> {
> // Do something by returning
This page can help you understand them better:
http://us2.php.net/manual/en/language.variables.superglobals.php
Thank you,
Micah Gersten
onShore Networks
Internal Developer
http://www.onshore.com
Edward Diener wrote:
> In handling an HTTP POST request I came across some PHP code, which I
> need
5 matches
Mail list logo