[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y ] [Search | Free Show | Home]

planning: website with search and hosting pdf files

This is a blue board which means that it's for everybody (Safe For Work content only). If you see any adult content, please report it.

Thread replies: 6
Thread images: 1

File: 1 snTXFElFuQLSFDnvZKJ6IA.png (212KB, 455x290px) Image search: [Google]
1 snTXFElFuQLSFDnvZKJ6IA.png
212KB, 455x290px
Hello. Somehow and suddenly, I am now the ONLY engineer (well actually I'm still a student) in a team for making a website/portal. It's volunteer work, to help the country's development by making these documents (research, studies) available.

I have one week to make the design and look of the website. Then me and the team will present the project, and only later on does it actually have to work

I'm not requesting anyone to do it for me, but rather I need some advice and guidance from people who have done this before. After I know what I have to do, I'll figure it out, I'll google or whatever. I can google "how to do X and Y" but I cannot google project requirements and get "you should use X and Y tools/technology"

I know very basic html, css, sql, but haven't used them for a while since I had the class where I learned about them. I don't have experience on making websites except one university project.

Project requirements:

- host pdf files

- pdf files have the following text descriptors, the stuff you search for: title, author, FIELD, institution

- search results can be ordered alphabetically

- you can filter the search to a specific field

(a very similar website to what I have to do: http://www.juuli.fi )

That is it. Not terribly complicated right? The design doesn't have to look super awesome. New entries to the database are supposed to be done by someone (me) manually and offline, hopefully this can be an easy/somewhat automated process

Hosting is the last of my concerns right now, as they will probably host it themselves and first this has to work on my pc.

Again, I am just looking to decide on what platform, languages, technologies, tools I am going to use. I need know-how because I don't know how.

What I want has been done before, and this isn't a commercial product so it should be fine to reuse. I don't have much time to make things from scratch as I also need to take the time to learn how to do it first.

Thank you for your time.
>>
if it wasn't for the pdf files I guess I should use html -> php -> mysql

I have no idea how to host and give download links to pdf files
>>
Okay, now I know how to let people download pdfs.

http://stackoverflow.com/questions/364946/how-to-make-pdf-file-downloadable-in-html-link

No idea how I am going to make the search. trying to look it up now.
>>
>>190165
Set up an html form which either POSTs or GETs a result page, where you use php to build a SQL query with the specified parameters. From each row that your database returns, you build an html table with the metadata and a link to the pdf and you display that to the user.

Build form on search page:
http://www.w3schools.com/html/html_forms.asp

Read parameters supplied by the user in the result page:
https://secure.php.net/manual/en/reserved.variables.post.php

Look shit up in your database:
https://secure.php.net/manual/en/mysqli.quickstart.statements.php

http://www.w3schools.com/sql/sql_like.asp

Don't forget to escape the parameters so you don't get injected
https://secure.php.net/manual/en/mysqli.real-escape-string.php

I hope this helps. Good luck.
>>
>>190304
thank you so much. Hope you have a great day :)
>>
>>190309
You too, anon. I just wanted to say I think it's great that you're helping make information freely available to the people in your country.
Thread posts: 6
Thread images: 1


[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y] [Search | Top | Home]

I'm aware that Imgur.com will stop allowing adult images since 15th of May. I'm taking actions to backup as much data as possible.
Read more on this topic here - https://archived.moe/talk/thread/1694/


If you need a post removed click on it's [Report] button and follow the instruction.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com.
If you like this website please support us by donating with Bitcoins at 16mKtbZiwW52BLkibtCr8jUg2KVUMTxVQ5
All trademarks and copyrights on this page are owned by their respective parties.
Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.
This is a 4chan archive - all of the content originated from that site.
This means that RandomArchive shows their content, archived.
If you need information for a Poster - contact them.