Where can i find a PHP Redirect Script like this?

agedaccs

Elite Member
Jr. VIP
Joined
Jul 12, 2015
Messages
2,377
Reaction score
628
PHP redirect script that adds random characters at the end of link

site1.com/script.php redirects to site2.com?=asdaud2138jasdj

whenever you refresh or enter site1 the script adds new random characters at the end

where can i find a script like this or where to find someone that can make this script and pay them?

pls help, thank you!
 
I keep trying to send you this simple script lol

skhype is john.stalvey
 

Attachments

  • 2DD89971-039E-462B-9F43-837E043DF965.webp
    2DD89971-039E-462B-9F43-837E043DF965.webp
    48.3 KB · Views: 291
This should do it...

Code:
<?php

// set string length here
$randomStringLength = 10;

$randomString = "";
$randomChars = "0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";
$randomCharsCount = strlen($randomChars) - 1;

for ($i = 0; $i < $randomStringLength; $i++) {
$randomString .= $randomChars[rand(0, $randomCharsCount)];
}

header("Location: https://google.com?q=" . $randomString);
exit();

?>
 
Last edited:
Back
Top