Jump to content

Building a website from Scratch


Orphy

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
Link to comment
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
Link to comment
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 :)
Link to comment
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.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

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.