摘要: Let say you installed PHP and run it for a month, but now you want to use curl in PHP.But so bad that you didn't install this extension when you installed PHP. That is to say, now you want to add PHP extension. Here is an example to install curl extension.apache2 is in/usr/local/apache2php is in 阅读全文
posted @ 2012-01-09 15:53 DavidHHuan 阅读(552) 评论(0) 推荐(0) 编辑
摘要: Here is an example of how to develop a widget (yes, widget is also an extension in Yii) in Yii.Let say you want to display something with widget in the page, of course you can place your widget in protected/componentswhen there are one or two classes inside. But when there is a lot of them,it is har 阅读全文
posted @ 2012-01-09 10:37 DavidHHuan 阅读(507) 评论(0) 推荐(0) 编辑