Skip to content

Tag: php

PHP Libsodium default encryption method

I’m sure this must’ve been asked and answered but can’t find where… With libsodium in PHP (7.0 / 7.1), what is the default encryption method employed (or where to find it) when you do something like this? A client wants it stated in the handover documentation but I can’t find wha…

Concept of a SaaS system

Good evening, I developed a system that behaves in the SaaS format, where the client only registers and already has access to use, in it I used a unique identifier for each client and they all use the same structure, PHP files and the same database . So far so good, because the domain does not change, that is…

unable to remove special char % from url

I am trying to remove special character % from url. I tried lot of solution like string_replace and etc. but not success. I do not know what is wrong with my code: Can anybody help? Answer trim() – Strip whitespace (or other characters) from the beginning and end of a string This function returns a stri…

How to use mpdf in codeigniter?

controller: function pdf_question() view: In this code I have created a view file having name pdf-question.php and now I want to export these question into pdf formate for this I am using mpdf codeigniter where I have load M_pdf.php library and mpdf in third party but Its not working it show me an error and i…