TalkPHP
 
 
Account Login
Latest Articles
» The basic usage of PHPTAL, a XML/XHTML template library for PHP
» Vulnerable methods and the areas they are commonly trusted in.
» Simple way to protect a form from bot
» The Basics On: How Session Stealing Works
» How to keep your forms from double posting data
IRC Channel
IRC Speech Bubble Join the friendly bunch on IRC...
(#TalkPHP on Freenode)

...Also available via a web interface.

See this thread for information on the TalkPHP Free Hugs Initiative™. Subject to availability.
Associates
Associates
CSS Tutorials
 
 
LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old 01-28-2008, 05:02 AM   #1 (permalink)
Orc
The Prestige
 
Orc's Avatar
 
Join Date: Dec 2007
Posts: 1,044
Thanks: 193
Orc is on a distinguished road
Default 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.
Orc is offline  
Reply With Quote
 



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT. The time now is 02:00 AM.

 
     

Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0
Inactive Reminders By Icora Web Design