+ Reply to Thread
Page 1 of 4 1 2 3 ... LastLast
Results 1 to 10 of 31

Thread: Help with this please!

  1. #1
    Senior Member laro696
    Join Date
    Feb 2007
    Location
    Cape Town, South Africa
    Posts
    142
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    Default Help with this please!

    Lol i couldn't think of a Title for the topic, sorry.

    Anyway, here's my prob.
    I have a downloads script that lists the downloads.
    I only want it to list say, 15 files per page. But it displays all of them.

    Attached the index page.

    Check from line 113 for the area where I'm experiencing problems

    Thanks in advance
    Attached Files

  2. #2
    Senior Member Mysterio3 is on a distinguished road Mysterio3's Avatar
    Join Date
    Mar 2009
    Location
    Albania, East Europe
    Posts
    414
    Thanks
    49
    Thanked 6 Times in 6 Posts
    Rep Power
    2

    Default

    So, I am the first commenting here? Sorry, but I did not download the index.txt, because, never somebody did my work, I always try till I do it myself. I will give you a suggestion: take a lava script and see how the forum displays 15 posts per page. Its all about getting the page number and work with limit depending on it. Wish you a good study!

  3. #3
    Moderator riderz is on a distinguished road riderz's Avatar
    Join Date
    Mar 2009
    Location
    south africa
    Posts
    1,259
    Thanks
    75
    Thanked 171 Times in 77 Posts
    Rep Power
    3

    Default

    if u cant help the user dnt make a reply we all here to help laro what script is this
    I'm working on my six-pack...I've got 2 cans left.

    _________________
    Cheap Host Waplive Webhosting
    Jacques


    __________________

    NEVER FORGET TO CLICK THE TANX BUTTON IF U LIKE WHAT IM SHARING OR HELPING WITH

  4. #4
    Senior Member laro696
    Join Date
    Feb 2007
    Location
    Cape Town, South Africa
    Posts
    142
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    Default

    Custom download script. I have attached it

    Here is a demo of the prob -

    Suppose to only show 15 files per page
    Attached Files

  5. #5
    Senior Member cobusbo is on a distinguished road cobusbo's Avatar
    Join Date
    Mar 2009
    Location
    South Africa
    Posts
    109
    Thanks
    1
    Thanked 1 Time in 1 Post
    Rep Power
    2

    Default

    check the pocketwap auto index script they explain it clearly in there
    Please visit my site thank you im still busy updating it

    New and improved site is

  6. #6
    Senior Member DjMatrix DjMatrix's Avatar
    Join Date
    Oct 2007
    Location
    Your Localhost running a format c :P
    Posts
    225
    Thanks
    15
    Thanked 9 Times in 5 Posts
    Rep Power
    0

    Default

    Quote Originally Posted by cobusbo
    check the pocketwap auto index script they explain it clearly in there
    you forgot the $onpage = 15;

    PHP Code:
    foreach ($_SERVER as $server => $value)
    {
    echo 
    "$server is $value<br />";





  7. #7
    Senior Member laro696
    Join Date
    Feb 2007
    Location
    Cape Town, South Africa
    Posts
    142
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    Default

    Quote Originally Posted by DjMatrix
    you forgot the $onpage = 15;
    Nope I didn't...

  8. #8
    Moderator riderz is on a distinguished road riderz's Avatar
    Join Date
    Mar 2009
    Location
    south africa
    Posts
    1,259
    Thanks
    75
    Thanked 171 Times in 77 Posts
    Rep Power
    3

    Default

    let see if i got it right can u add some files fast to
    I'm working on my six-pack...I've got 2 cans left.

    _________________
    Cheap Host Waplive Webhosting
    Jacques


    __________________

    NEVER FORGET TO CLICK THE TANX BUTTON IF U LIKE WHAT IM SHARING OR HELPING WITH

  9. #9
    Senior Member laro696
    Join Date
    Feb 2007
    Location
    Cape Town, South Africa
    Posts
    142
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    Default

    Quote Originally Posted by riderz
    let see if i got it right can u add some files fast to
    Change the password in admin.php and put it here then i will add files

  10. #10
    Moderator riderz is on a distinguished road riderz's Avatar
    Join Date
    Mar 2009
    Location
    south africa
    Posts
    1,259
    Thanks
    75
    Thanked 171 Times in 77 Posts
    Rep Power
    3

    Default

    password test
    I'm working on my six-pack...I've got 2 cans left.

    _________________
    Cheap Host Waplive Webhosting
    Jacques


    __________________

    NEVER FORGET TO CLICK THE TANX BUTTON IF U LIKE WHAT IM SHARING OR HELPING WITH

+ Reply to Thread
Page 1 of 4 1 2 3 ... LastLast

Thread Information

Users Browsing this Thread

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

     

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

SEO by vBSEO