Welcome Guest, Not a member yet? Register   Sign In
Encryption Passing a Blank PHP Page From Model
#3

(11-24-2019, 11:15 AM)jreklund Wrote: $data['$ciphertext'] should be $data['ciphertext'].

And in your view: <?php echo $ciphertext; ?>

Encryption are a one way street, so you can't view the original data.
I appreciate the response. I'll try ['ciphertext' ] in the control. The control file lists $data['$ciphertext'] . It was $ciphertext in the model. Then ('test', $data) in the control folder. I'll make sure to mess with bit64 and the tag once some jumble shows on a test page for decrypting. Seems like the $ acts to pass a string between pages. In Visual Basic, I would have to Dim $anything As String first to pass between pages though. New language whoas, lol

I'll try  the view as:
<?PHP echo $data; ?>

My model query didn't make me put more than <?php    ?>
Reply


Messages In This Thread
RE: Encryption Passing a Blank PHP Page From Model - by paulywog0667 - 11-24-2019, 11:46 AM



Theme © iAndrew 2016 - Forum software by © MyBB