在getverify.php中這樣可以顯示驗證碼,
<?
php require_once '../lib/image.func.php';
verifyImage(2,4,30,6);
下面這樣就不顯示
<?
php require_once '../image.func.php';
verifyImage(2,4,30,6);
已經刪掉image.func.php中的session_start();
求指教
<?
php require_once '../lib/image.func.php';
verifyImage(2,4,30,6);
下面這樣就不顯示
<?
php require_once '../image.func.php';
verifyImage(2,4,30,6);
已經刪掉image.func.php中的session_start();
求指教
在getverify.php中這樣可以顯示驗證碼,
<?php require_once '../lib/image.func.php'; verifyImage(2,4,30,6);
下面這樣就不顯示 <?php require_once '../image.func.php'; verifyImage(2,4,30,6);
已經刪掉image.func.php中的session_start(); 求指教
<?php require_once '../lib/image.func.php'; verifyImage(2,4,30,6);
下面這樣就不顯示 <?php require_once '../image.func.php'; verifyImage(2,4,30,6);
已經刪掉image.func.php中的session_start(); 求指教
老師的這種$i 貫穿兩種判斷的累加索引方法, 很可能有人會看暈了。
可以定義兩個數組, 來分別存儲兩種判斷中得到的fileInfo二位數組信息, 再使用array_merge函數合并,并返回,結果都一樣的
可以定義兩個數組, 來分別存儲兩種判斷中得到的fileInfo二位數組信息, 再使用array_merge函數合并,并返回,結果都一樣的
2017-11-06