Reply to Re: Newbie question

Your name:

Reply:


Posted by Nico Schuyt on 04/22/06 14:45

Gert van der Kooij wrote:
> I have about 600 html files on my PC and I want to create an index for
> it. The index should initially display 6 entries, 1 - 100, 101 - 200,
> 201 - 300, ....
> If I click on 1 - 100, it should display 10 entries 1 - 10, 11 - 20,
> 21 - 30, ......
> After clicking 1 - 10, it should display an index with links to the
> html files, fileone should open 1.html etc.

You need some server side scripting. Have a look at
http://nl2.php.net/manual/en/function.readdir.php for a start.
An alternative is to store the meta data (file name, file location) of the
html-files in a database.
If the html-files have the same structure you might consider creating the
html files with the contents of a database.

> The index should be on the left site of the page, the 1.html on the
> other site.

If you solved the former problem, that will be an easy one :-)

--
Nico Schuyt
http://www.nicoschuyt.nl/

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация