Send current URL in URL with a $_GET variable problem.


Posted on 16th Feb 2014 07:03 pm by admin

Hello community,

I have created a function that gets the current variable of a page, example:

Did you know?Explore Trending and Topic pages for more stories like this.
current page URL:
Code: [Select] http://example.com/activate.php?token=123&code=321
Now, I want to send this address as a URL variable, and retrieve it with a $_GET in another page,example:
Code: [Select]http://example.com/process.php?action=true&r_address=http://example.com/activate.php?token=123&code=321
PROBLEM:
I only get :
Code: [Select]http://example.com/activate.php?token=123
when I retrieve r_address with $_GET['r_address'] in process.php, as you can see code=321 is being considered a different variable.

Is there any way to "encapsulate" (if you will) an URL with variables into a $_GET variable ?

Will appreciate any help, thank you.
No comments posted yet

Your Answer:

Login to answer
291 Like 30 Dislike
Previous forums Next forums
Other forums

Batch Related Pricing
Hi, I need some clarity on the batch related pricing

For example the following are the b

Checking if a process is running (problems including psapi.dll i think...)
Ok, so all I'm trying to do is check if a program is running...

I've found out that I nee

add 20 000 to the rowcnt
Hi ...
I need to add 20 000 to the row count but just cant find a way to do this i am new to php

Stopped working!
So I had to change some stuff, none of it major. Stuff like the extension_dir and such. BEFORE I did

square instead of number
Hello
I do not know why but this code seems to work fine only in my xampp local insallation but n

rename the file
File.txt

Code: ***DOCUMENT***
..DN:
000044255
..CB:
..SN:
..PY:
2009
..E

gmmktime or mktime
I live in the UK, i am within the GMT (with daylight saving time ie 1 hour difrence between summer a

query help
Hi experts.

i have a table rep2 like this
PROD_COD ACCT_NO DUE_DAYS BALANCE

Loops and Classes
I am making a template system and everything seems to be going well up until I have to loop in a var

All possible combinations of Strings from table in PL/SQL
Hi,

I am trying to figure out how to build a list of all possible string combinations fro

Sign up to write
Sign up now if you have flare of writing..
Login   |   Register
Follow Us
Indyaspeak @ Facebook Indyaspeak @ Twitter Indyaspeak @ Pinterest RSS



Play Free Quiz and Win Cash