|
Posted by John Nichel on 04/28/05 16:28
Mark Sargent wrote:
<big snip>
> Hi All,
>
> ok, so let me understand this. To be able to use GET/POST and some
> others, I need this turned on, yes..? Do you all have it set to on..? If
> no, how do you get around this..? Cheers.
No. With globals off, php just doesn't _magically_ transform
mydomain.com/script.php?foo=bar into a variable named $foo with a value
of bar. The data is still there.
For something passed in the query (URL) string, use the $_GET array...
$_GET['foo']
For something passed by a form with the post method, use the $_POST array...
$_POST['foo']
--
John C. Nichel
ÜberGeek
KegWorks.com
716.856.9675
john@kegworks.com
Navigation:
[Reply to this message]
|