SunQuest
 
           PHP Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 
Go Back   Dev Articles Community ForumsProgrammingPHP Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
SlickEdit: Code in over 40 languages across 7 platforms. SlickEdit’s unmatched power, speed, and flexibility allows even the most accomplished developers to write better code faster. Download a free trial today!
  #1  
Old August 19th, 2003, 08:44 AM
noahl noahl is offline
Junior Member
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jan 2003
Location: GA - USA
Posts: 6 noahl User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via AIM to noahl Send a message via Yahoo to noahl
Can PHP do this???

I have a possibly n00bish question. Can .php be used in this situation:

I have several directories that have tons of reports being placed there every night. I want a way to dynamically generate a report listing. I know I can just list the reports by allowing the directory to list contents. What I am wanting to do is allow the users to search the directories for specific reports, list most recent reports, and do it all in a way that is easier than scrolling thru hundreds of reports looking for dates and report names.

Can this be done?

Any comments would be greatly appreciated.

Thank you,

Noah

Reply With Quote
  #2  
Old August 19th, 2003, 12:07 PM
nicat23's Avatar
nicat23 nicat23 is offline
Addicted to Chaos..
Dev Articles Novice (500 - 999 posts)
 
Join Date: Jan 2003
Location: Ft. Worth, TX
Posts: 653 nicat23 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 47 m 52 sec
Reputation Power: 0
Send a message via AIM to nicat23 Send a message via Yahoo to nicat23
You should be able to. What you might want to try is dumping the directory listing into a database and building a search function to search through the database, then use the pathing that is stored to open the file..

Reply With Quote
  #3  
Old August 20th, 2003, 10:12 PM
noahl noahl is offline
Junior Member
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jan 2003
Location: GA - USA
Posts: 6 noahl User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via AIM to noahl Send a message via Yahoo to noahl
Good idea, any suggestions on how to dump the file listing into a database? Or even a way to index the files for searching?

--
noahl

Reply With Quote
  #4  
Old August 22nd, 2003, 10:01 PM
noahl noahl is offline
Junior Member
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jan 2003
Location: GA - USA
Posts: 6 noahl User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via AIM to noahl Send a message via Yahoo to noahl
bump...any suggestions on how to index a directory of files on NT 4.0???

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsProgrammingPHP Development > Can PHP do this???


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway