MySQL database Update

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
naxalovka
Forum Newbie
Posts: 1
Joined: Fri Jan 05, 2007 8:12 pm

MySQL database Update

Post by naxalovka »

Hello, I have such task to do ....
I have some Directory which contains files with fixed, defined name format
Author-Title.Pdf
I have database e-books , with tables Number, Author and Title
all files in directory are stored in database.
Please help me with program, which will automaticaly add new files in e-book directory to my database. For exampme when ill paste new files from somewhere to this e-book directory.

Best regards,
Max
User avatar
aaronhall
DevNet Resident
Posts: 1040
Joined: Tue Aug 13, 2002 5:10 pm
Location: Back in Phoenix, missing the microbrews
Contact:

Post by aaronhall »

readdir() would be a good place to start
User avatar
anjanesh
DevNet Resident
Posts: 1679
Joined: Sat Dec 06, 2003 9:52 pm
Location: Mumbai, India

Post by anjanesh »

scandir() is a wonderful function if you're using PHP5.
Post Reply