How can you pass GET values to another url in php? GET value forwarding
- by gobackpacking
Ok, so I'm using Jquery's AJAX function and it's having trouble passing a URL with a http address. So I'm hoping to "get" the GET values and send them to another URL — so: a local php file begin passed GET values, which in turn forwards the GET values to another url.
Maybe curl is the answer? I don't know. It's got to be a very short answer I know.
pseudo code:
//retrieve the GET values
$var retrieve [GET]
//passing it to another url
send get values to url ($var, url_address)