Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

PHP Forum


You are currently viewing our PHP Forum as a guest. Please register to participate.
Login



Freelance Jobs

Reply
Displaying the contents of a folder.
Old 06-10-2005, 04:58 PM Displaying the contents of a folder.
Webmaster Talker

Posts: 626
Trades: 0
I was directed to coding because you can't do what I want with HTML. So... If I could get some help here that would be great:

I have a News & Highlights section on my Home Page.

Unless there is an easier way... I wanted to have a folder called Articles with all the filenames in it. The filenames look something like this:

03-01-2005 Update on the Royal Bank Scandle.pdf
02-15-2005 Royal Bank rips off people like crazy.pdf
02-01-2005 Bank of Canada to raise interest rates.doc
01-01-2005 CI Funds Announces Manager Changes.pdf

So... As you can see I will name the filename with a date so that it shows in chronilogical order.

I was going to insert an iframe with a scrollbar on the right side so people can look through the updates.

As mentioned unless someone knows an easier way I just wanted to add new articles to the Articles folder on my site and that way my page will automatically update.

I have no clue where to start. I have tried searching for some scripts and can't find anything so any help is greatly appreciated.


time now is 04:50 PM.
jim.thornton is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 06-10-2005, 05:12 PM
Monkeon's Avatar
Skilled Talker

Posts: 59
Trades: 0
I used this script once ages ago, it's pretty good.

http://sweetphp.com/nuke/modules.php...c132891476352d
__________________

Please login or register to view this content. Registration is FREE
FREE Online Dating!
Meet your perfect match online right now!
Monkeon is offline
Reply With Quote
View Public Profile
 
Old 06-11-2005, 12:16 AM
Webmaster Talker

Posts: 626
Trades: 0
I just took a quick look at it and it looks like that will display a file list similar to an FTP site. I want more the look of a BLOG but allowing the user to click on the article name which is really the filename. When they click on the link I wanted them to open the PDF/DOC file.
jim.thornton is offline
Reply With Quote
View Public Profile
 
Old 06-11-2005, 01:13 PM
Monkeon's Avatar
Skilled Talker

Posts: 59
Trades: 0
A more simple directory lister

http://evoluted.net/archives/2003/12...isting_php.php

You could just edit the code to make it fit in with your existing site
__________________

Please login or register to view this content. Registration is FREE
FREE Online Dating!
Meet your perfect match online right now!
Monkeon is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Displaying the contents of a folder.
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.15211 seconds with 12 queries