Wednesday, 26 July 2017

How to disabe right click using jquery ?

Please visit below link to get solution -

http://codeforphpdevelopers.com/disable-right-click-f12-ctrlu/

Wednesday, 7 June 2017

what is cron job ? how to set it .

A cron job is a Linux command for scheduling a task to be executed sometime in the future.Cron Jobs are used for scheduling tasks to run on the server. They're most commonly used for automating system maintenance. However, they are also relevant to web application development. There are many situations when a web application may need certain tasks to run periodically such as Notification mail , newsletter  etc.

Syntax : -




5 * * * *  /usr/bin/php /www/codeforphp/cron/cron.php > /dev/null 2>&1 ( file path  )

OR 

5 * * * * php /home/codeforphp/public_html/testtt.php

OR 

5 * * * * curl http://codeforphpdevelopers.com/testtt.php


NOTE : -
in windows server , you can use scheduler for cron job.