| 41 | | // Generate a new Text_CAPTCHA object, Image driver |
|---|
| 42 | | $captcha = Text_CAPTCHA::factory('Image'); |
|---|
| 43 | | //$result = $captcha->init($width, $height, $passphrase, $options); |
|---|
| 44 | | $result = $captcha->init($height, $width, $passphrase, $options); |
|---|
| | 41 | /* Generate a new Text_CAPTCHA object, Image driver |
|---|
| | 42 | * This is working at least with Text_CAPTCHAS latest alpha version. Older versions |
|---|
| | 43 | * give missing font error |
|---|
| | 44 | */ |
|---|
| | 45 | |
|---|
| | 46 | $captcha = Text_CAPTCHA::factory('Image'); |
|---|
| | 47 | $result = $captcha->init($width, $height, $passphrase, $options); |
|---|
| | 48 | // $result = $captcha->init($height, $width, $passphrase, $options); |
|---|