2
Contributors
3
Replies
4
Views
5 Years
Discussion Span
Last Post by diafol
0
<?php
if(isset($_GET) && !empty($_GET)){
	$qs = $_GET;	
	$pu = parse_url($_SERVER["REQUEST_URI"]);
	$path = explode("=",$pu['path']);
	$callback = $path[1];
//TEST OUTPUT
	echo $callback . " --- ";
	print_r($qs);
}
?>

<a href="/redirect.php/url=www.google.com/search.php?word=computer&pages=195&country=us&ip=127.0.0.1">redirect</a>

seems to work for me. easier ways to do this I'm sure - e.g. preg functions?

0

well it kinda work, but not that way i want it to be.. :/

0

well it kinda work, but not that way i want it to be.. :/

Care to elaborate? My crystal ball's being polished at the moment...

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.