Help with this please!

Started on the old forum in January 2010 · view the original in the archive · old links redirect here

30 replies · 1,198 views · started 16 years ago · 1 min read

8 participants
laro696 Developer · 205 posts #1

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

Attachments: index.txt
Mysterio Lead · 630 posts #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

riderz Lead · 975 posts #3

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


Jacques jacques@gw-designs.co.za http://coding.biz.tm Come join and lets make it a place to learn all the noobies how to code


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

laro696 Developer · 205 posts #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

Attachments: Land Of WAP.zip
cobusbo Developer · 117 posts #5

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

djdevil89 Senior · 287 posts #6

cobusbo wrote: check the pocketwap auto index script they explain it clearly in there

you forgot the $onpage = 15;

foreach ($_SERVER as $server => $value)
{
echo "$server is $value<br />";
}
laro696 Developer · 205 posts #9

riderz wrote: 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

riderz Lead · 975 posts #11

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


Jacques jacques@gw-designs.co.za http://coding.biz.tm Come join and lets make it a place to learn all the noobies how to code


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

laro696 Developer · 205 posts #12

U must make category and then subcategory.

Tried ur demo but still not working

riderz Lead · 975 posts #13

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


Jacques jacques@gw-designs.co.za http://coding.biz.tm Come join and lets make it a place to learn all the noobies how to code


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

laro696 Developer · 205 posts #14

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

riderz Lead · 975 posts #15

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


Jacques jacques@gw-designs.co.za http://coding.biz.tm Come join and lets make it a place to learn all the noobies how to code


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

laro696 Developer · 205 posts #16

Thanks a bunch mate 🙂

djdevil89 Senior · 287 posts #18

riderz wrote: anything to help out

Allright Allright LOL i will have a look at it.... might have to mod it a bit though.... but then it will work.....

foreach ($_SERVER as $server => $value)
{
echo "$server is $value<br />";
}
laro696 Developer · 205 posts #19

DjMatrix wrote: Allright Allright LOL i will have a look at it.... might have to mod it a bit though.... but then it will work.....

Thanks alot! Will owe you forever 🙂

wap_king Developer · 126 posts #20

Laro bro wats wrong with your message box?!

Sign in to reply.

Similar topics

Keyboard shortcuts

g f
Go to forums
g h
Go to your feed
g m
Go to messages
r
Reply (in a topic)
/
Search
j
Next post
k
Previous post
?
This list
Ctrl/⌘ + Enter
Send what you are writing
Ctrl/⌘ + B / I
Bold / italic while writing
Esc
Close