画像認証(CAPTCHA) in php form

Captcha adding in form

=======================

index.php

——————————————

//ランダムコード取得
$rand_code = rand();
$smarty->assign(“rand_code”,$rand_code);

index.tmpl (smarty)

——————————————

<tr>
<th>画像認証<span class=”red”>※</span></th>
<td>
<img src=”../captcha/captcha_code_file.php?rand={$rand_code}” id=”captchaimg” ><br /><br />
<label for=”message”>上記の文字列を入力してください。</label><br/>
<input style=”height:20px; font-size:18px;” id=”6_letters_code” name=”6_letters_code” type=”text”>
</td>
</tr>

————————————–

check.php

——————————————–

check the match and validation of entered captcha code.

details zip file Download

 

WP text editor plugin link anchor does not work in IE 11

WPで新規投稿で編集した際、IE 11を使用するとビジュアルでのリンク設定をすることができないとき、 (edited)

 wp\wp-admin\includes\template.php 中の _wp_admin_html_begin 関数の中に meta が定義されている部分があるので、そこにレンダリングモードの切替の記述をしておいてあげれば動くみたい。

<meta http-equiv=”X-UA-Compatible” content=”IE=8, chrome=1″>