Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 4 of 4
  1. #1
    Member
    Join Date
    Oct 2002
    Location
    USA
    Posts
    94
    Member #
    237
    I am in need of a simple link gallery script which allows me to add links and have them ranked in order of the most hits out. It does not require the ability to allow other users to add links.

    By any chance has anyone come across such a script? I couldn't seem to find one on the resourceindex.

  2.  

  3. #2
    Member
    Join Date
    Oct 2002
    Location
    USA
    Posts
    94
    Member #
    237
    Or else a script which would simply display a set of links in random order would also work..

  4. #3
    Senior Member filburt1's Avatar
    Join Date
    Jul 2002
    Location
    Maryland, US
    Posts
    11,774
    Member #
    3
    Liked
    21 times
    That can be easily written with just one query to a MySQL database.
    filburt1, Web Design Forums.net founder
    Site of the Month contest: submit your site or vote for the winner!

  5. #4
    Member
    Join Date
    Oct 2002
    Location
    USA
    Posts
    94
    Member #
    237
    It looks like this code will allow me to display a list of randomly assorted links without a database:

    <?
    $array = file("/path/to/your/file/links.php");
    shuffle($array);
    for ($i=0; $i<10; $i++) {
    echo $array[$i];
    }
    ?>

    If so, how would I use it? Can I insert this into an HTML page or does the page it goes into also have to be PHP? Also, can the links.php page it refers to just be a list of http links?

    Thanks for any help.


Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -6. The time now is 09:42 AM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com