Cronjob in Linux Server

I have a cloud server on AWS in here i face a problem to configure cornjob.In this article i share how to configure cornjob in linux server or your linux pc.You can write script for daily,monthly,weekly and hourly also for that your file structure will be /etc/cron.daily /etc/cron.hourly /etc/cron.monthly /etc/cron.weekly If you also write shell 

Continue Reading…

Pass Blob File Though Ajax

Blob means Binary Large Object.Blobs are typically images, audio or other multimedia objects, though sometimes binary executable code is stored as a blob.In this article we know how to pass a blob file through ajax. Pass Blob File Though Ajax Keep it mind to keep contentType,processData keep false. processData: false, contentType: false,

PHP7 Null coalesce operator

PHP7 Improved performance up to twice as fast as PHP 5.6 ,Consistent 64-bit support,Combined comparison Operator (),scalar type declarations,return type declaration,null coalesce operator any many others new features.So then first see what is this operator.(??) is null coalesce operator.In previous version till 5.6 we was see a operator that is called ternary operator(?).Null coalesce operator 

Continue Reading…

PHP7 Return type declarations

PHP7 Improved performance up to twice as fast as PHP 5.6 ,Consistent 64-bit support,Combined comparison Operator (),scalar type declarations any many others new features.Return type declaration a great features what i think.You can specify a return type for a function.You can define both scalar type and return type declaration in a same function.Let see an 

Continue Reading…

PHP7 Scalar type declarations

PHP7 Improved performance up to twice as fast as PHP 5.6 ,Consistent 64-bit support,Combined comparison Operator (),scalar type declarations any many others new features.Here we know how to use scalar type declaration in PHP7.There are two flavor for scalar type declaration such as coercive (default) and strict. strings integers floating-point booleans Those four types of 

Continue Reading…

PHP7 Spaceship Operator

PHP7 Improved performance up to twice as fast as PHP 5.6 ,Consistent 64-bit support,Combined comparison Operator () any many others new features.In here we know how to use php7 spaceship operator().Let see how to use it. PHP7 Spaceship Operator() This operator will offer combined comparison in that it will : Return 0 if values on 

Continue Reading…

PHP showing as text apache

After install php and apache in a machine,sometimes we see that php shows as plain text in web browser.Suppose we echo as text like “echo ‘hello world’;”.When we access this file on web browser we see that it’s not print hello world,it shows the full line as a plain text.It happens for a php module 

Continue Reading…

install mcrypt

mcrypt is an php extension.If you want to run the most popular and latest framework laravel version 5.0,you need to install and enable it in your machine.In this blog i wrote the step how to install mcrypt and enable it in a linux machine.Just run some commands on your terminal and it will install and 

Continue Reading…