ahs10 Posted November 5, 2007 Share Posted November 5, 2007 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! Quote Link to comment https://forums.phpfreaks.com/topic/76125-excel-spreadsheet-validation/ Share on other sites More sharing options...
MadTechie Posted November 6, 2007 Share Posted November 6, 2007 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.. Quote Link to comment https://forums.phpfreaks.com/topic/76125-excel-spreadsheet-validation/#findComment-385366 Share on other sites More sharing options...
ahs10 Posted November 6, 2007 Author Share Posted November 6, 2007 i like this idea, thanks. i could make the download functions generate a number (included in a spreadsheet) that allows that spreadsheet to be uploaded once. cool, cool, thanks again. any other ideas out there? Quote Link to comment https://forums.phpfreaks.com/topic/76125-excel-spreadsheet-validation/#findComment-385829 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.