Using cronjob in yii1
This article will explain How to Using cronjob in yii1 to making a file every minutes. 1) First, create a file in /protected/commands/CronjobCommand.php
This article will explain How to Using cronjob in yii1 to making a file every minutes. 1) First, create a file in /protected/commands/CronjobCommand.php
In this article you’ll learn how to create CRUD in yii2 using GII. This below is sample output : DEMO HERE Let’s do it ! CONNECTION First, configure the database connection in common/config/main-local.php : TABLE The table name is “book”. GENERATE CRUD… Continue Reading
DEMO PLUGIN In this tutorial i will show you how to install extension kartik widget in yii2 and how to use it. INSTALL 1) First, install composer.phar in your root directory of yii If you get error “curl: command not found”,… Continue Reading
Demo here The default ‘frontend’ url in yii2 is http://yoursite.com/frontend/web/ Now, we will change it to http://yoursite.com Let’s do it! 1) Create .htaccess on your root directory of yii, copy script below (ctrl + h if .htaccess is hidden) :
I get the error “Unhandled error message: Host key verfication failed” when trying to connect to VPS using sftp nautilus (file > connect to server). The error caused by file “known_hosts” in your local machine. File “known_hosts” store a key authenticating when you connect… Continue Reading