Tag: skpaul

Validate BAD Emails in PHP, Laravel

DebuggingDevelopmentLaravelLaravel 5PHPTesttingUncategorizedbad_emailsEmailLaravelphpskpaulskpaul82validate_bad_emailvalidation

Hey! what’s up? I am working on a SAAS application for my current company (Prithibi Consulting Services) and facing the issue of sending emails, actually bad emails, those comply with the RFC. So that means basic email validation is not working from the Laravel side and we are processing emails to ‘example@gmail’ like email addresses ….  Read More

Create and access multiple ports for Apache on Amazon EC2(aka AWSEC2) or DigitalOcean

DevOpsLAMPLinuxServerUbuntuAmazonApacheAWSAWSEC2Cloud ServerDigitalOceanEC2multiple appsmultiple domainmultiple portssk_paulskpaulskpaul82virtual host

We can do this by using the virtual host. There is two part to complete to open and configure the ports. I used port 8080 but you can use any port that is not using for any service.   Part 1: Add/Update Virtual Host Navigate to the sites-available directory for the configuration file cd /etc/apache2/sites-available/ ….  Read More

Set XSRF(/CSRF) Token Globally or TokenMismatchException in Laravel 5.* (for AJAX)

LaravelLaravel 5CSRF Tokenskpaulskpaul82TokenMismatchException

Very easy (পানির লাহান) 🙂 STEP – 1: First we have to ad a meta tag (name=”_token”) in header <meta name=”_token” content=”{{ csrf_token() }}” /> STEP – 2: Then add below jQuery snippet before the </body> tag. Basically here we setting up the csrf token globally for ajax request. And after this we don’t need to ….  Read More


Update – Please visit skpaul.me for latest posts and updates

DatabaseJavaScript(JS)JoomlaMagentoMySQLosCommercePHPPositive Bangladesh (পজেটিভ বাংলাদেশ)RegexUncategorizedWordpressকবিতাsk_paulskpaulskpaul.meskpaul82

Hi, Greetings!! Thanks for visiting my blog, I have open a blog (http://skpaul.me). So from now, you will get all latest posts and updates on http://skpaul.me.   Please take a look on my personal blog (http://skpaul.me), and let me know your comments and review.   Thanks in Advance sk paul http://skpaul.me