Instructions First, go to the public html folder in your server using this command line: cd /var/www/html Then clone your project here. A new directory will be automatically created. git clone url_here After this you need a .env file in your directory. Normally, GitHub or BitBucket do not upload .env file since it contains sensitive […]

Read More →

What causes TokenMismatchException We often see TokenMismatchException error in Laravel while submitting a form in our web application. It occurs because the form you are submitting is missing a csrf token. If you see this error, don’t panic. It’s actually a good thing. Laravel protects your application from cross-site request forgery (CSRF) attacks. Since your […]

Read More →

What is mysql_* functions in PHP mysql_* functions are used in PHP in order to connect and interact with the mysql database. Here are many mysql_* functions available in PHP. You can see their list from official PHP page. Here’s a small snippet for example: The reasons why I should not use mysql_* functions anymore […]

Read More →