Help with this please!

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    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
    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!
    mysterio.al - programming is a functional art

    Comment


      #3
      if u cant help the user dnt make a reply we all here to help laro what script is this

      Comment


        #4
        Custom download script. I have attached it

        Here is a demo of the prob - Land Of WAP

        Suppose to only show 15 files per page
        Attached Files

        Comment


          #5
          check the pocketwap auto index script they explain it clearly in there

          Comment


            #6
            Originally posted by cobusbo View Post
            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 />";

            Comment


              #7
              Originally posted by DjMatrix View Post
              you forgot the $onpage = 15;
              Nope I didn't...

              Comment


                #8
                let see if i got it right can u add some files fast to Land Of WAP

                Comment


                  #9
                  Originally posted by riderz View Post
                  let see if i got it right can u add some files fast to Land Of WAP
                  Change the password in admin.php and put it here then i will add files

                  Comment


                    #10
                    password test

                    Comment


                      #11
                      ive made a catagorie but in the upload part it dnt show the folder

                      Comment


                        #12
                        U must make category and then subcategory.

                        Tried ur demo but still not working

                        Comment


                          #13
                          now its showing 16 items per page but when go to 2nd page it show the same files

                          Comment


                            #14
                            Yeah dats my prob. It just displays everything on the same page

                            Comment


                              #15
                              will ask matrix to check the file on my server mabe he'll get it right then ill post it here

                              Comment

                              Working...
                              X