Jump to content

Recommended Posts

Could someone provide suggestion, code examples or advice on if I can upload an excel file with PHP and MYSQL and display this file on the server so when someone go to this server can click on this file and open the excel document for view. 

 

Just like when someone is using email to send an excel file, and the person who received it could click on this file and open it for view.  So instead of emailing it, I would like to have this upload to the server, could this be done?

 

I have done uploaded pics with php and mysql with success, but when doing upload with files such as excel, it uploaded successfully but the upload is not a file that can be click and view but just blanks.  thanks

when doing upload with files such as excel, it uploaded successfully but the upload is not a file that can be click and view but just blanks.  thanks
If you want to render the Excel file as though it was HTML, then you'd need a library to convert from XLS to HTML
  • 1 month later...

http://uk3.php.net/manual/en/features.file-upload.post-method.php

 

once you have uploaded just put a link to it in your html

 

 

yea, I did that and some files are able to click and download but most of them can't and gives this error message

 

Not Found

 

The requested URL /EXCEL/NEW was not found on this server.

 

do you know why, is it the way my link is set up?

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.