![]() |
Simple Redirect Script - Recommendations?
Hi,
Im seeking a free php based script that can covert outgoing links to something like this: http://www.somedomain.com/target/?id=45 Anyone found a good one? This is low volume SE traffic so no need to handle massive volume :upsidedow <disclaimer> Yes ive googled the fuck out of it - just dont want to install some crap so looking for a tested one. </disclaimer> ablility to work over multiple domains a plus but not necessary Thanks! |
make a directory called "out" like yourserver.com/out/
in that folder make a file called link.txt put your outgoing links seperated by "~" like this http://site1.com~http://site2.com~http://site3.com save this as index.php Code:
<?php call it like http://yourserver.com/out/?out=2 |
Smokey! you kick ass :) :thumbsup :thumbsup
|
Quote:
|
or to make it cleaner, you can do this
http://www.site1.com http://www.site2.com then use this modified version of his script Code:
<?php |
Quote:
|
Quote:
Code:
if (@ini_get('register_globals')) { |
You might also want to test for \r\n, FWIW.. edit that file in Mike-Rowe-Sawft Winders and that's going to be a very broken redirect script.
|
or better yet
Code:
<?php |
All times are GMT -7. The time now is 05:34 PM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123