Welcome Guest, Not a member yet? Register   Sign In
Encryption for upload helper
#1
Tongue 
(This post was last modified: 10-29-2022, 11:02 AM by richb201.)

I have gotten the do_upload working. But I now realize that the file is being uploaded to the server not the users pc. In my case the data needs to be kept secure during the trip. How can I encrypt the users data?

Perhaps I am doing this all wrong? I need to get data from an xls file into a mysql table. I need to check that the data is in the correct format during this trip. Is there a more direct way of doing this rather than using phpOffice/phpSpreadSheet? The code I am doing isĀ 
PHP Code:
$data = array('upload_data' => $this->upload->data());
$reader = \PhpOffice\PhpSpreadsheet\IOFactory::createReader("Xlsx");
$iRc=$reader->setReadDataOnly(true);
$file $data["upload_data"]["full_path"];
$spreadsheet $reader->load($file); 
proof that an old dog can learn new tricks
Reply


Messages In This Thread
Encryption for upload helper - by richb201 - 10-29-2022, 06:51 AM
RE: Encryption for upload helper - by richb201 - 10-30-2022, 06:58 AM
RE: Encryption for upload helper - by InsiteFX - 10-31-2022, 12:36 AM



Theme © iAndrew 2016 - Forum software by © MyBB