Results 1 to 10 of 15
Hybrid View
-
28th Nov 2009, 09:27 AM #1OPMemberWebsite's:
warezxtc.com[PHP] Visit Random Site
Needed this script for one of my sites so I just coded it up in minute or two.
PHP Code:<?php
$lesites = array(
'http://www.warezlobby.org/',
'http://www.atomicwarez.com/',
'http://www.warezsearch.org/'
);
$randsite = $lesites[array_rand($lesites)];
header('Location: '.$randsite);
die('<a href="'.$randsite.'">Click here if you have not been redirected</a>');
?>CyberJ37 Reviewed by CyberJ37 on . [PHP] Visit Random Site Needed this script for one of my sites so I just coded it up in minute or two. <?php $lesites = array( 'http://www.warezlobby.org/', 'http://www.atomicwarez.com/', 'http://www.warezsearch.org/' ); $randsite = $lesites; Rating: 5
-
28th Nov 2009, 09:32 AM #2Respected DeveloperWebsite's:
X4B.org
-
28th Nov 2009, 09:36 AM #3OPMemberWebsite's:
warezxtc.com
-
28th Nov 2009, 09:50 AM #4Respected DeveloperWebsite's:
X4B.org
-
28th Nov 2009, 09:54 AM #5OPMemberWebsite's:
warezxtc.comAh, never thought of that.
Edited the first post.
Also, had to use a variable to hold the random site.
-
28th Nov 2009, 01:55 PM #6Member
yea nice simple code. NJ
-
28th Nov 2009, 07:43 PM #7MemberWebsite's:
litewarez.net litewarez.com triniwarez.comi had to inprove it just a lil
PHP Code:<?php
$lesites = array(
'http://www.warezlobby.org/',
'http://www.atomicwarez.com/',
'http://www.warezsearch.org/'
);
$randsite = $lesites[array_rand($lesites)];
((headers_sent() === false) ? header('Location: '.$randsite) : die('<a href="'.$randsite.'">Click here if you have not been redirected</a>'));
?>Join Litewarez.net today and become apart of the community.
Unique | Clean | Advanced (All with you in mind)
Downloads | Webmasters
Notifications,Forum,Chat,Community all at Litewarez Webmasters
-
28th Nov 2009, 07:58 PM #8BannedWebsite's:
FusionWarez.info SmokeHost.net Leechers.coman, u guyz know your PHP here good
-
29th Nov 2009, 02:37 AM #9OPMemberWebsite's:
warezxtc.comDamn, never knew about that headers_sent() function LW, nice one!
-
29th Nov 2009, 02:45 AM #10Respected DeveloperWebsite's:
X4B.orgPHP Code:<?php
$lesites = array(
'http://www.warezlobby.org/',
'http://www.atomicwarez.com/',
'http://www.warezsearch.org/'
);
$randsite = $lesites[array_rand($lesites)];
((headers_sent() === false) {
header('Location: '.$randsite);
die('<a href="'.$randsite.'">Click here if you have not been redirected</a>'));
}else{
die('<a href="'.$randsite.'">Click here if you have not been redirected</a>'));
}
?>
Sponsored Links
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
I am Not Able to Visit My Site
By Shahrukh in forum General DiscussionReplies: 0Last Post: 5th Dec 2011, 07:37 AM -
First site to visit after Formats..
By Netguy in forum Useful SitesReplies: 26Last Post: 20th May 2011, 09:11 PM -
Visit
By NayabDahir in forum IntroductionsReplies: 0Last Post: 17th May 2011, 03:51 PM -
Visit my site!
By timboy18 in forum Community CooperativeReplies: 1Last Post: 22nd Jul 2009, 07:33 AM
themaLeecher - leech and manage...
Version 5.02 released. Open older version (or...