How to hide .env passwords in Laravel whoops output

In Laravel when any error comes when whoops output shows and there all your env variable shows. so its become insecure application so to avoid this we need to few lines of code in our file and after that, all your information will be hidden. you need to navigate to your config directory open app.php … Read more

Convert youtube Link into embed code in PHP

Many times when you are going to add youtube video in your website application then need to convert links to embed code and then save in database because when you going to add with iframe it will block to save in database because of security purpose. So converting link into embed code and then show … Read more

Categories PHP

How can I make SQL case sensitive string comparison on MySQL?

case sensitive string comparison on MySQL

Sometimes Its Become very necessary to search the query with case sensitive string in database and if you use like condition or equal condition then it will not get the desired result for you. So here i amĀ  going to tell you how to search with case sensitive string comparison on MySQL. SELECT * FROM … Read more