| | |
using php to search dir
Please support our PHP advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
![]() |
•
•
Join Date: Sep 2009
Posts: 2
Reputation:
Solved Threads: 0
Hi guys and gals,
Im working on a project at present where i need to be able to upload a batch of apporx 400 files each week.
What i need the script to do is, when a driver enters his number and a pin that the script will then search all the filenames for his driver number and display a list of them in date order with clickable links so that they can be viewed, the files are all pdf.
Really hope someone can help with this.
I have been told that it needs to have minimal input from IT dept after its setup, basically that the only human intervention is accounts saving the files to a netdrive and drivers are then able to find them.
Thanks in advance
mark
Im working on a project at present where i need to be able to upload a batch of apporx 400 files each week.
What i need the script to do is, when a driver enters his number and a pin that the script will then search all the filenames for his driver number and display a list of them in date order with clickable links so that they can be viewed, the files are all pdf.
Really hope someone can help with this.
I have been told that it needs to have minimal input from IT dept after its setup, basically that the only human intervention is accounts saving the files to a netdrive and drivers are then able to find them.
Thanks in advance
mark
PHP Directory functions, the examples are in there: http://php.net/dir
GCS d- s+ a-->? C++(++++) UL+++ P+>+++ L+++ E--- W+++
N+ o K w++(---) O? !M- V PS+>++ PE+ Y+ PGP !t- 5? X- R tv+
b+>++ DI+ D G++>+++ e+ h+>++ r y+
PMs asking for help will not be answered, post on the forums. That's what they're there for.
N+ o K w++(---) O? !M- V PS+>++ PE+ Y+ PGP !t- 5? X- R tv+
b+>++ DI+ D G++>+++ e+ h+>++ r y+
PMs asking for help will not be answered, post on the forums. That's what they're there for.
Also have a look at DirectoryIterator, I posted some info here: http://www.daniweb.com/forums/thread190732.html
Happy Humbugging Christmas
•
•
•
•
Im working on a project at present where i need to be able to upload a batch of apporx 400 files each week.
Try not to bump 10 year old threads as it can be really annoying.
http://syntax.cwarn23.net/
My favourite PC. - MacGyver Fan
http://syntax.cwarn23.net/
Smilies: ^_* +_+ v_v -_- *~*` My favourite PC. - MacGyver Fan
•
•
Join Date: Sep 2009
Posts: 2
Reputation:
Solved Threads: 0
•
•
•
•
I hope it's not a windows server your using because when I attempted to create over 500,000 folders and subfolders with php, it crashed the external hardrive and had to be formatted. I would VERY strongly suggest to use a database instead as it will be faster and may even reduce the load on your server due to the file system lookup.
I need to be able to save down a batch of pdf's with the correct naming convention (thats simple) and have them uploaded to the webserver (netdrive) and then a simple query to find the relevant files and display them to the user as a link.
![]() |
Similar Threads
- PHP Search page (PHP)
- Php search with multiple fields result ques? (PHP)
- php search script - multiple search terms? (PHP)
- PHP search engine (PHP)
- PHP search option remove (PHP)
- php drop down menu to search multiple sql tables (PHP)
- Can PHP search a folder for a file? (PHP)
- creating an advanced php search (PHP)
- PHP Search pagination problem (PHP)
Other Threads in the PHP Forum
- Previous Thread: joomla anyone?
- Next Thread: .htaccess not working for url rewrite
| Thread Tools | Search this Thread |
.net adobe adsense adult advanced advertising ajax amazon ansi apple array art asp binary bing blogging business class cms cuil data database development display ebooks email engine facebook files flash form forms google hacking html image include internet internetadvertising iphone iso java javascript jquery lamp legal link linux login mail malware marketing mcafee menu microsoft msn mysql news odf oop opendocumentformat openstandards pdf php post privacy publishing query revenue script search searchengine security seo session sex sms soap software space spam spyware sql standard string tutorial twitter upload validation video videosearch web webmaster website wiki wolframalpha xml yahoo yahoo! youtube







