Advertisement
Guest User

php code

a guest
May 20th, 2017
163
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.31 KB | None | 0 0
  1. <?php
  2.     //from http://php.net/header
  3.     header("Cache-Control: no-cache, must-revalidate"); // HTTP/1.1
  4.     header("Expires: Sat, 26 Jul 1997 05:00:00 GMT"); // Date in the past
  5.  
  6.     $random_number = rand(1,5);
  7.     header( 'Location: https://website.com/network$random_number', true /* overwrite */, 303 );
  8. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement