FAQ | Search | Memberlist | Usergroups | Register | Profile | Inbox | Log in | SmartFeedSmartFeed


 okgg.org > Forum Index > All Things Technical > Bulk Domain Forward

  Author    Thread Post new topic  Reply to topic
Stealth
I Read Insults for Dummies & Still Fail.


Joined: 12 May 2005
Posts: 1376
Location: Tahlequah
Bulk Domain Forward  Reply with quote  

I'm looking for away to do a bulk forward.

When someone goes to my domain it will redirect them to a different website each time they visit my domain.


_________________
"You will need to change more than your IP Address, you will need to change your panties after I get done with you."

Post Mon Mar 01, 2010 10:54 am  View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger ICQ Number
LightningCrash
Smile like Bob, order your free LC today


Joined: 03 Apr 2003
Posts: 5020
 Reply with quote  

<?php
$array = ("yahoo.com","msn.com","google.com","okgg.org","okc2600.org","dc405.org");
shuffle($array);
header("Location: http://".$array[0]);
exit(0);
?>

Post Mon Mar 01, 2010 12:20 pm  View user's profile Send private message
Stealth
I Read Insults for Dummies & Still Fail.


Joined: 12 May 2005
Posts: 1376
Location: Tahlequah
 Reply with quote  

Code

Parse error: syntax error, unexpected ',' in /home/cypher/public_html/index.php  on line 2

_________________
"You will need to change more than your IP Address, you will need to change your panties after I get done with you."

Post Mon Mar 01, 2010 12:49 pm  View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger ICQ Number
TehDanMan
Guerilla Ontologist


Joined: 01 Jul 2003
Posts: 13143
 Reply with quote  

Code

<?php
$pickasite = array("yahoo.com","msn.com","google.com","okgg.org","okc2600.org","dc405.org");
shuffle($pickasite);
header("Location: http://".$pickasite[0]);
exit(0);
?>


That should work.
_________________
Blargle Flarg Bergah Merg

Post Mon Mar 01, 2010 1:11 pm  View user's profile Send private message Send e-mail
Stealth
I Read Insults for Dummies & Still Fail.


Joined: 12 May 2005
Posts: 1376
Location: Tahlequah
 Reply with quote  

worked

thnx dan
_________________
"You will need to change more than your IP Address, you will need to change your panties after I get done with you."

Post Mon Mar 01, 2010 1:52 pm  View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger ICQ Number
detox
Naaaaaah. NaaaaaFLAC.


Joined: 20 Mar 2003
Posts: 4317
Location: Durant
 Reply with quote  

if
then
else



GO!
_________________
I7 2600K
EVGA 980ti FTW
16gigs
SSD
3x Dell U2412 Monitors

Post Mon Mar 01, 2010 11:07 pm  View user's profile Send private message Visit poster's website ICQ Number
  Display posts from previous:      
Post new topic  Reply to topic

Last Thread | Next Thread  >

Quick Reply

  
Jump to:  
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum