Jump to content

Recommended Posts

i am creating an application in which users can download and upload an xls file in order to interact with the database.  the download option will give them a spreadsheet that is partially filled with data.  some cells however will be blank, which they will fill in, then upload the spreadsheet for the data to be parsed and added into the database.

 

my question is... when a user attempts to upload a spreadsheet, how can i validate that it was previously downloaded from my application?  i want to make it so that the only spreadsheets that will be accepted via upload, are ones that were generated by my application.  how can i do this?

 

any ideas, comments, suggestions, or simple hellos are much appreciated.  thanks!  :)

Link to comment
https://forums.phpfreaks.com/topic/76125-excel-spreadsheet-validation/
Share on other sites

Just an idea..

when you download add a extra entry to the speadsheet a code or tag of sorts.. then when you upload check that code to the one in the database.

 

of course someone could download one and copy that code/tag and put it on another file then re-upload but your know who as the tag will could be logged by the system..

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.