01-28-2008, 05:02 AM
|
#1 (permalink)
|
|
The Prestige
Join Date: Dec 2007
Posts: 1,044
Thanks: 193
|
Question with URL Vars
How would I associate URL Vars of one php to another? Like including a php inside a php file then grabbing those URL Vars from the included php file and putting them in the current?
URL Vars I mean by:
PHP Code:
// sid would be the URL Var http://www.example.com/?sid=id
// Example of what I have: include 'http://www.example.com/index.php?foo=bar'; // I want to grab the url vars from that // So I could put them in my index.php // And yes that included file is on my server
I understand that it's an array, so would I have to take all the vars out of the $_GET/$_POST arrays, and place them into the current php files url var arrays? :/
Maybe using Extract?
__________________
VillageIdiot can have my babbies ;d
Last edited by Orc : 01-28-2008 at 05:53 AM.
|
|
|
|