|
下面是手册中的代码:
PHP复制代码
$vals = array(
'word' => 'Random word',
'img_path' => './captcha/',
'img_url' => 'http://example.com/captcha/',
/*上面 这一行用什么能代替 ‘'http://example.com’这个呢,必须写死吗?*/
'font_path' => './path/to/fonts/texb.ttf',
'img_width' => '150',
'img_height' => 30,
'expiration' => 7200
);
复制代码
另外:
“./”是代表网站的跟目录吗? |
|