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:

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

Estimations and Effort
HI Gurus,

Would like to know whether SAP have a provision for carrying out the Project es

Get value from Select menu
Hi!

Have tried to find the solution on the web. Don't know if there is an easy one. A descrip

Stopping page post back
I have few literal contriols in my page and a repeater too. But inspite of using update panel, postb

matching numbers inside ( )
I know I can match numbers by just [0-9]+, so I thought matching numbers inside ( ) would be somethi

Login Functionality Working Different on IE
This is an odd one, I have a site which has an admin section. The admin pages unsurprisingly require

Multidimensional array problems in $_POST
I'm having trouble with a three-dimensional $_POST array. It starts as a two-dimensional array on th

frame help
on the bottom frame is menu.html

Code: <body><form action='link.php' met

Just a white page
Okay so, my website, when I click SignUp on it it takes me to /join.php but its a complete white pag

Date Format
Hi there,

I have a date format like this right now:
Sat, 17 Oct 2009 17:04:00

I ne

Unable to customise toolbar in FCK

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