This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* GoogleanAlyticsトラッキングを、PHPで強引に送信する | |
* | |
* @param type $long_url | |
* @param type $title | |
* @param type $remote_addr | |
* @param type $http_user_agent | |
*/ | |
public static function googleanalytics_track($long_url, $title, $remote_addr, $http_user_agent) | |
{ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$val = Validation::forge(); | |
$password = Input::post('password'); | |
$confirm_password = Input::post('confirm_password'); | |
$val->add('password', 'パスワード') | |
->add_rule('trim') | |
->add_rule('required') | |
->add_rule('min_length', 8) | |
->add_rule('max_length', 16) |
NewerOlder