WHY WE USE CAPTCHA reCAPTCHA is a CAPTCHA-like system designed to establish that a computer user is human (normally in order to protect websites from bots) and, at the same time, assist in the digitization of booksHere I am describe how can add google captcha in yii1 MVC frame work.1. Download GitHub repo (jafarkhanphp/googleRcaptcha) and extract files into a destination…
Category Archives Yii
[heading title="How can use trim in yii model" type="h1" font_size="" margin_top="30" margin_bottom="30" color=""] I have noticed that the fields do not trim/strip whitespaces and I'm wondering how I can do this. I have a form in Yii. Here if I enter trimp values, It gives me an error. That is working fine, But if I add some spaces in front…
Creating multi-level category system with PHP & Yii (MVC Framework) in not just a simple undertaking. Many Developer usage different type to handle this specific. They may possibly create 3 tables for initial level, subsequent level as well as 3rd level category (parent, sub category as well as sub sub cateogry). The best method to acquire multi-level category using recursive…
[heading title="How can I set the selected value in the following statement " type="h2" font_size="" margin_top="30" margin_bottom="30" color=""] [code inline="true" scrollable="true"]$form->dropDownList($model, 'pair', array("2"=>"2", "3"=>"3","4"=>"4", "5"=>"5","6"=>"6","7"=>"7", "8"=>"8", '9'=>'9', "10"=>"10", "11"=>"11", "12"=>"12", "13"=>"13", "14"=>"14", '15'=>'15', '20'=>'20', '25'=>'25', '30'=>'30', '35'=>'35', '40'=>'40' , '45'=>'45' , '50'=>'50', '55'=>'55'), array('class'=>'form-control', 'options' => array('4'=>array('selected'=>true)),))[/code]