uhh i need some help... i want to pass variables through urls then have a switch statement that includes files depending on the 'page id' but what's the global for getting variables out of the address bar?
is it like $HTTP_POST_VARS[""] or $HTTP_COOKIES_VARS[""] ?
thanks
globals
Moderator: General Moderators
-
learning_php_mysql
- Forum Commoner
- Posts: 27
- Joined: Sun Aug 04, 2002 12:58 pm
- Location: WA
-
learning_php_mysql
- Forum Commoner
- Posts: 27
- Joined: Sun Aug 04, 2002 12:58 pm
- Location: WA
- twigletmac
- Her Royal Site Adminness
- Posts: 5371
- Joined: Tue Apr 23, 2002 2:21 am
- Location: Essex, UK
$_GET, if you're using PHP 4.1 or above.
Here's the rest of them: http://www.php.net/manual/en/language.v ... efined.php
Mac
Here's the rest of them: http://www.php.net/manual/en/language.v ... efined.php
Mac
- hob_goblin
- Forum Regular
- Posts: 978
- Joined: Sun Apr 28, 2002 9:53 pm
- Contact:
-
learning_php_mysql
- Forum Commoner
- Posts: 27
- Joined: Sun Aug 04, 2002 12:58 pm
- Location: WA
thanks this is a really usefull pagetwigletmac wrote:$_GET, if you're using PHP 4.1 or above.
Here's the rest of them: http://www.php.net/manual/en/language.v ... efined.php
Mac
- twigletmac
- Her Royal Site Adminness
- Posts: 5371
- Joined: Tue Apr 23, 2002 2:21 am
- Location: Essex, UK