Archive for 二月, 2011



下载地址 http://www.yiiframework.com/extension/upload 文档 http://www.verot.net/php_class_upload_docs.htm class.upload.php documentation Description Description | Vars (details) | Methods (details) What does it do? It manages file uploads for you. In short, it manages the uploaded file, and allows you to do whatever you want with the file, especially if it is an image, and as many times as you want. It is the [...]

?boolean: Alias of CBooleanValidator, 只有true和 false ?captcha: Alias of CCaptchaValidator, 验证码验证 ?compare: Alias of CCompareValidator, 对比表单里面的属性或者常量 ?email: Alias of CEmailValidator, 确认是个正确的e-mail 地址 ?default: Alias of CDefaultVAlidator, 按照默认值设置 ?exist: Alias of CExistValidator, 确定可以从表的字段里面找到in the specified table column ?file: Alias of CFileValidator, 确定属性包括上传文件名an uploaded file,简单说就是确认有上传文件 ?filter: Alias of CFilterValidator, transforming the attribute with a filter ?in: Alias [...]

yii 里面 gii 设置 modules 模块里面的model,以及各种配置图解

在执行 C:\>cd wamp\bin\php\php5.2.5 C:\wamp\bin\php\php5.2.5>go-pear.bat 会出现下面错误 phar “[path]go-pear.phar” does not have a signature Warning: require_once(phar://go-pear.phar/index.php): failed to open stream: pha r “[path]go-pear.phar” does not have a signature in [path]\PEAR\go-pear.phar on line 1236 Fatal error: require_once(): Failed opening required ‘phar://go-pear.phar/index. php’ (include_path=’.;[path][path]\PEAR’) in [path]\PEAR\go-pear.phar on line 1236 解决方法: 进入:cd PEAR目录 然后执行:php.exe -d phar.require_hash=0 go-pear.phar 这样就可以顺利执行


About this blog

QK31欢迎你的到来.

Photostream