Results 1 to 1 of 1

Thread: Little Proxy List Script 2.0 bug

  1. #1
    nux
    nux is offline Moderator
    Join Date
    Dec 2008
    Location
    Minneapolis
    Posts
    534
    Thanks
    28
    Thanked 77 Times in 54 Posts

    Little Proxy List Script 2.0 bug

    Hey everyone. I've gotten a few messages about why the category listings work properly on Proxy Sites - #1 Proxy List. I thought I'd make a public post about this, to save anyone else the head ache.

    There is a bug in category.php that outputs all the proxies, no matter what category you select. This is a simple fix, and requires some minor editing of the category.php file.

    Once open, goto the $sql command you will see something like this:

    $sql = "SELECT id, proxy, hits, time, responsetime
    FROM {$db_tp}proxy
    ORDER BY time DESC
    LIMIT $start, $cfg[per_page_1]";

    Change it to:

    $sql = "SELECT id, proxy, hits, time, responsetime
    FROM {$db_tp}proxy
    WHERE cat_id = $id
    ORDER BY time DESC
    LIMIT $start, $cfg[per_page_1]";

    You're just adding the WHERE cat_id = $id

    Hope that helps.

    -nux
    Submit Your Proxies @ NewProxySites.com

  2. Thanked by:

    Aquarezz (7 October, 2009), GrilledChicked (7 October, 2009), sam (17 December, 2009), WebEvader (7 October, 2009), Will.Spencer (17 October, 2009), Zash (7 October, 2009)

Similar Threads

  1. [WTB] Proxy list site with @proxy script
    By asantha in forum Sites
    Replies: 2
    Last Post: 13 April, 2011, 07:29 AM
  2. Proxy Coder - Free Proxy List Script
    By xrvel in forum Web Proxies
    Replies: 45
    Last Post: 9 March, 2011, 22:16 PM
  3. Replies: 2
    Last Post: 1 April, 2010, 15:51 PM
  4. Replies: 0
    Last Post: 19 March, 2010, 03:26 AM
  5. Proxy List Script (which one do you use)
    By Jorge05r in forum Web Proxies
    Replies: 12
    Last Post: 4 August, 2009, 16:21 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •