Re: [PHP-DB] assoc arrays

2001-02-20 Thread CC Zona

In article <[EMAIL PROTECTED]>, 
[EMAIL PROTECTED] ("Free Beachler") wrote:

> the form variables from an http post are stored in:
> 
> http_post_vars[] - associative array containing form variables..
> 
> what about url parameters, such as::
> http://www.mysite.com?param1=12
> 
> is there a corresponding array for them, or do they
> go in the post_vars array?

$HTTP_GET_VARS[]

-- 
CC

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP-DB] assoc arrays

2001-02-20 Thread Beau Lebens

hello again free
those vars will automagically be created by php (sweet!)

so in your example (notice i added "page.php");
http://www.mysite.com/page.php?param1=12

on that "page.php" you will have access to the variable $param1 which will 
have the value 12

At 01:21 AM 2/20/01 -0700, Free Beachler wrote:
>the form variables from an http post are stored in:
>
>http_post_vars[] - associative array containing form variables..
>
>what about url parameters, such as::
>http://www.mysite.com?param1=12
>
>is there a corresponding array for them, or do they
>go in the post_vars array?
>
>
>
>--
>PHP Database Mailing List (http://www.php.net/)
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>To contact the list administrators, e-mail: [EMAIL PROTECTED]

-- 
Beau Lebens - Web Master
Insurance My Way, Your Friendly Online Broker
(08) 9226 5888
http://www.insurancemyway.com.au/


-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]