简体   繁体   中英

php Fat Free, how to use captcha plugin

I can't use the Captcha plugin provided by Fat Free

Please help me

F3::route ( 'GET /captcha',captcha);

function captcha(){
    F3::captcha(100,100,8);
}

它应该是:

F3::route ( 'GET /captcha','captcha');

Let F3 know where your fonts folder is

I have following in my index.php file

define('ROOT',realpath(__dir__.'/../').'/');

F3::set('FONTS',ROOT.'fonts/');

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM