Current location: Hot Scripts Forums » General Community » Script Requests » Dynamic next and previous navigation within directory without database


Dynamic next and previous navigation within directory without database

Reply
  #1 (permalink)  
Old 11-18-09, 04:24 AM
j_uu j_uu is offline
New Member
 
Join Date: Nov 2009
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Dynamic PHP next and previous navigation within directory without database

Basic information:

A folder/directory containing around 50 differently named .html files (not numerically numbered, but named with the page's content's reference code and which would be increased by several new pages a month)

A 'next' and 'previous' button/link on each of the pages/files.


Is it possible to use PHP look within the directory, pehaps sending a current page id or location on clicking 'next' or 'prev', to then next or previous dynamically through those files alpha-numerically relative to the page currently the user is on without the use of a database?

Cheers for the brain picking

Last edited by j_uu; 11-18-09 at 04:35 AM. Reason: Update title and info
Reply With Quote
  #2 (permalink)  
Old 11-26-09, 08:18 AM
Jcbones Jcbones is offline
Aspiring Coder
 
Join Date: Mar 2009
Location: North Carolina, USA
Posts: 516
Thanks: 5
Thanked 47 Times in 44 Posts
Yes, is possible, but not in .html, all pages would have to change to .php. Or, server settings would have to change for .html to be parsed by PHP.
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump


All times are GMT -5. The time now is 09:34 AM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.