Skip to content
Advertisement

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 what it is. Answer Algorithm details Encryption: XSalsa20 stream cipher

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, everyone

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 string with whitespace stripped from

How can I change what days Carbon considers the weekend? [closed]

Closed. This question needs details or clarity. It is not currently accepting answers. Want to improve this question? Add details and clarify the problem by editing this post. Closed 4 years ago. Improve this question I want to change weekendDays to only include Sunday in my Carbon Instance. How can I do that? Answer Run: In your AppProvidersAppServiceProvider in the

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.e. So, How can I

Advertisement