Home >PHP Framework >YII >How to get the verification code value in yii

How to get the verification code value in yii

王林
王林Original
2020-02-18 11:21:552089browse

How to get the verification code value in yii

Get the verification code value in Controller, as follows:

(Recommended related tutorials: yii framework)

$this->createAction('captcha')->getVerifyCode();

More For programming-related content, please visit the Introduction to Programming column on the PHP Chinese website!

The above is the detailed content of How to get the verification code value in yii. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn