Cleveland Posted May 30, 2010 Share Posted May 30, 2010 Hi guys. I'm new to this forum so I thought I'd put my question in here. First off I'm a young website designer...and not very experienced. I am finishing school and have an "internship" with a lady that owns a restaurant. What I'm doing for her is creating a website. I'm really desperate and need your help! So here's the problem. She wants to be able to update her menu weekly. She makes her menu in Microsoft word. So I need to create an easy way for her upload a new menu to her site. I was planning on creating a file upload with php that would upload the file to mysql and then I could have the page appear on her site. However it looks like I can't do this with a word doc. So how can I do this? I thought maybe I could have her save it in word as a website then maybe upload the html version but I couldn't really figure that out either. I know this is probably a vague and dumb question...but I'm desperate for help. Any suggestions on how to get started would be great. Thanks. Quote Link to comment https://forums.phpfreaks.com/topic/203327-im-newplease-help-me/ Share on other sites More sharing options...
ohdang888 Posted May 30, 2010 Share Posted May 30, 2010 why don't you just upload the file to a folder in the server, save that name in an entry in an mysql table, and then on the user page, display a link to the latest uploaded menu Quote Link to comment https://forums.phpfreaks.com/topic/203327-im-newplease-help-me/#findComment-1065242 Share on other sites More sharing options...
ignace Posted May 30, 2010 Share Posted May 30, 2010 why don't you just upload the file to a folder in the server, save that name in an entry in an mysql table, and then on the user page, display a link to the latest uploaded menu Even then, would you want your visitors to download a Word document (possibly in docx format) that they may or may not be able to open? Why bother your visitors with downloading if you could just show it? Of course having a Word document and all is not that easy when it comes to flexibility or data-independence. So my advice would be to integrate a web Word alternative like: http://tinymce.moxiecode.com/ http://developer.yahoo.com/yui/editor/ http://nicedit.com/ This gives you more possibilities then a Word document. Quote Link to comment https://forums.phpfreaks.com/topic/203327-im-newplease-help-me/#findComment-1065264 Share on other sites More sharing options...
proggR Posted June 2, 2010 Share Posted June 2, 2010 I'd show her how to print it as a PDF and upload the PDF. Its better for what she's doing in every way. You're on the right track though. Quote Link to comment https://forums.phpfreaks.com/topic/203327-im-newplease-help-me/#findComment-1066663 Share on other sites More sharing options...
Philip Posted June 2, 2010 Share Posted June 2, 2010 I'd show her how to print it as a PDF and upload the PDF. Its better for what she's doing in every way. You're on the right track though. +1 - That's what I have one of my smaller restaurant clients doing for seasonal menus. Quote Link to comment https://forums.phpfreaks.com/topic/203327-im-newplease-help-me/#findComment-1066668 Share on other sites More sharing options...
Tazerenix Posted June 3, 2010 Share Posted June 3, 2010 You might want to take a look at Catdoc or wvWare libraries for displaying documents with PHP. Quote Link to comment https://forums.phpfreaks.com/topic/203327-im-newplease-help-me/#findComment-1067081 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.