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

Confusing Functions
So, I've been reading up on Functions and I like them! However, I need some help using variables in

simplexml_load_file and rss problem
Hi,

I have a problem parsing an rss feed using simplexml_load_file - this is strange as i hav

query based on 2 conditions
I want to select if the doc_type is either s OR f but this doesn't work:

Code: [Select]$query

PHP/Database issue
My friend is helping me make a database where you go to a certain webpage of my site and the page wi

php code to accept and delete incoming data
Using following HTML Code please show me how to write PHP code to accept and delete the incoming dat

Secure FTP
Hi experts,
There is no SFTP action in MII workbench.
This means it needs developing custo

Need help making a blockquote and line items conditional
I have some code I bought a few years ago that allows my clients to update content on their site usi

How can I uploading Transactional Data from Legacy to New SAP system
Hell Gurus,

I am overwhelmed with questions on how to migrate huge volume of Sales Orders

Creating a db with a query
Hello everyone.
I'm having troubles creating a db with a query.
I'm reading a book called PHP

PHP Programming error. Please help!
Hi there,

Am making a website for a friend and have encountered a problem that i need fixing

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