<table align="center">
                <tr>
                    <td>
                        <img id="captcha" style="border: 1px solid #2F343B" src="secureimage/securimage_show.php" alt="CAPTCHA Image" />
                    </td>
                    <td>
                        <a id="refreshLink" href="#"><img src="secureimage/images/Refresh Icon.jpg" alt="Refresh Image"/></a>
                    </td>
                </tr>
                <tr>
                    <td>
                        Enter Code: <input type="text" name="captcha_code" size="10" maxlength="6" />
                    </td>
                </tr>
                <tr>
                    <td colspan="2" style="color:red">
                        <?php 
checkIsset($catpchaError);
?>
                    </td>
                </tr>
            </table>
            <p>
                <input type="submit" name="button" id="button" value="Submit" />
            </p>
        <div>
    </form>
</div>

<?php 
include 'footer.php';
예제 #2
0
파일: stub.php 프로젝트: jasny/Q
    $info = array('test');
    for ($i = 0; $i < LOOP; $i++) {
        if (!$a instanceof Mock) {
            $a->doIt($info);
        }
    }
}
function checkMethodExists()
{
    $a = new Mock();
    $info = array('test');
    for ($i = 0; $i < LOOP; $i++) {
        if (method_exists($a, 'doIt')) {
            $a->doIt($info);
        }
    }
}
function useStub()
{
    $a = new Stub();
    $info = array('test');
    for ($i = 0; $i < LOOP; $i++) {
        $a->doIt($info);
    }
}
wasteTime();
checkIsset();
checkInstanceof();
checkNotInstanceof();
checkMethodExists();
useStub();