I have this scripts and i want to take the result to redirect to a webpage.
<?php $url = trim($_GET["url"]); $a = str_replace('www.', '', parse_url($url)); echo 'Lien vers <a href=http://www.toolurl.com/search-domains.php?url=www.' . $a['host'] .'>'. $a['host'] . '</a>'; ?>
this is my test page:
many test on this page: the last two result are the good one.
i want to take a full url and redirect it to the www.toolurl.com search: for this example it will redirect to this page: http://www.toolurl.c...w.phpfreaks.com
when someone will go to: http://scripts.toolu...orums/index.php
he will be automaticly redirect to: http://www.toolurl.c...w.phpfreaks.com
Thank you to help