Activity Stream
48,167 MEMBERS
67522 ONLINE
besthostingforums On YouTube Subscribe to our Newsletter besthostingforums On Twitter besthostingforums On Facebook besthostingforums On facebook groups

Page 2 of 2 FirstFirst 12
Results 11 to 15 of 15
  1.     
    #11
    Member
    Read from mysql & create a cp for the LE sites

  2.   Sponsored Links

  3.     
    #12
    Member
    Website's:
    litewarez.net litewarez.com triniwarez.com
    Splitice, you know thats not good coding lol, why check if headers_sent and then die an href under the same expression.... just need to remove the first href out the if lol
    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


  4.     
    #13
    Member
    Website's:
    litewarez.net litewarez.com triniwarez.com
    And hers a smaller edit

    PHP Code: 
    <?php
    $lesites 
    = array(
        
    'http://www.warezlobby.org/',
        
    'http://www.atomicwarez.com/',
        
    'http://www.warezsearch.org/'
    );

    $randsite $lesites[rand(0,count($lesites))]; // lil faster using count rather than array rand

    ((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


  5.     
    #14
    Member
    Website's:
    warezxtc.com
    ^

    Code: 
    $randsite = $lesites[rand(0,count($lesites))];
    Should be

    Code: 
    $randsite = $lesites[rand(0,count($lesites)-1)];
    And yeah, I started with rand() first but then switched to array_rand because it was shorter.

  6.     
    #15
    Member
    Website's:
    litewarez.net litewarez.com triniwarez.com
    Ah my bad on the -1 I was testing the code just writing it in.... missed that lol and yea such short code it don't make a difference just sum said it in simplest for so thought i would iterate lol
    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


Page 2 of 2 FirstFirst 12

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. I am Not Able to Visit My Site
    By Shahrukh in forum General Discussion
    Replies: 0
    Last Post: 5th Dec 2011, 07:37 AM
  2. First site to visit after Formats..
    By Netguy in forum Useful Sites
    Replies: 26
    Last Post: 20th May 2011, 09:11 PM
  3. Visit
    By NayabDahir in forum Introductions
    Replies: 0
    Last Post: 17th May 2011, 03:51 PM
  4. Visit my site!
    By timboy18 in forum Community Cooperative
    Replies: 1
    Last Post: 22nd Jul 2009, 07:33 AM

Tags for this Thread

BE SOCIAL