Jump to content

Archived

This topic is now archived and is closed to further replies.

Orphy

Building a website from Scratch

Recommended Posts

Dear all,

Will someone be kind enough to point me to the right examples to do the following: (I can follow examples and tweak it but can not write codes from scratch as it's been less than 2 days of php for me). I will forever be indebted to you.

My "database base" is a bunch of pdf files (let say 1K) and each pdf file will be named this way:

Subject_date_author

I want to set up the site in a way, so that all I have to do is place new pdf files into the folder and the prgoram (php and mysql?) will automatically generate a webPAGE with each SUBJECT. and under subject - there will be the list of authors w/ date which will be a clickable pdf .


Please advise on how I can tackle this project. I spent hour after hours searching the net to find similar examples. No luck!!

Thank you

Share this post


Link to post
Share on other sites
Thats a lot of pdf files.

Can you give us the structure of your database, please? With that I could help you a little more ;)

Share this post


Link to post
Share on other sites
dear keeb, thank you for replying. It seems to me after reading a bit that I need to make a database. Forget my original question for now....

Is there a way to automatically create the database with Columns of Publisher, Date and subject

given the file names are this way: Publlisher_Date_Subject.pdf

Share this post


Link to post
Share on other sites
Maybe write a local script to gather all the names? You can split the file names up into seperate strings wherever a "_" is. Then have another script append any neccessary info so that you could just copy/paste into sql.

Only way I can think of :)

Share this post


Link to post
Share on other sites
[!--quoteo(post=358177:date=Mar 25 2006, 03:54 AM:name=draxxus)--][div class=\'quotetop\']QUOTE(draxxus @ Mar 25 2006, 03:54 AM) [snapback]358177[/snapback][/div][div class=\'quotemain\'][!--quotec--]
Maybe write a local script to gather all the names? You can split the file names up into seperate strings wherever a "_" is. Then have another script append any neccessary info so that you could just copy/paste into sql.

Only way I can think of :)
[/quote]

Hello draxxus,

I do have a program to spit out the file name....

So for example, I can easily convert Publisher_Author_Date.pdf

to the text Publisher_Author_DATE.

Now what? I am totally new at this...has been only 2 days.. and already feel like giving up!

How will I change Publisher_Author_Date to something something which then I can import to mysql table.

Please tell me a step by step process.

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.