Showing 241-260 of 373 items.

Using phpseclib with Yii

Created 13 years ago by nkd nkd, updated 13 years ago by nkd nkd. 9 comments

I installed phpseclib because I needed to do some AES encryption in my project. After all the hassle of installing php lib, I found out that Yii already has a security module (securityManager). I finally decided to keep using phpseclib because it has one big advantage over Yii securityManager module, it does...

0 0
6
Viewed: 23 168 times
Version: 1.1
Category: How-tos

How to hide index.php on Microsoft Windows Server with IIS7

Created 13 years ago by Giuliano Giuliano, updated 13 years ago by Giuliano Giuliano. 2 comments

I've seen lot of people struggling in finding a way to hide the script name when installing their Yii Application. In an Apache environment everything is well documented in this wiki article, but for those who are running their app on a Windows Server machine there are no hints.

6 0
6
Viewed: 74 394 times
Version: 1.1
Category: How-tos

Integrating Wordpress and Yii,Working Out The Details.

Created 13 years ago by drumaddict drumaddict, updated 13 years ago by drumaddict drumaddict. 4 comments

First things first,follow the instructions in fr0d0z's article to set up WordPress.Regarding the WpController,I did not use an index view.So the code for WpController is

class WpController extends Controller
{
    public function init()
    {
	 // note that we disable the layout
        $this->layout = false;
        parent::init();
    }

7 0
13
Viewed: 37 831 times
Version: 1.1
Category: How-tos

YouTube API v2.0 – Browser-based Uploading

Created 13 years ago by Vaibhav Vaibhav, updated 13 years ago by Vaibhav Vaibhav. 2 comments

Through the YouTube API you can upload files directly to the Youtube server. Youtube currently offers two services 1. Direct Link 2. Browser Based Uploading. In this wiki I will demonstrate how you can quickly set Browser Based Uploading for your Yii application. This is the protocol request that takes place.

2 0
7
Viewed: 28 034 times
Version: 1.1
Category: How-tos

How to use Multiple instances of the same model in the same form

Created 14 years ago by kiran sharma kiran sharma, updated 14 years ago by Maurizio Domba Cerin Maurizio Domba Cerin. 21 comments

When i had created this functionality then i found some difficulties and not got much idea from wiki and forums. so, i think this will be useful for newbie users and save time of other developers when create related functionality. I refer Collecting Tabular Input tutorial but not got clear idea for create/update...

Alternative wildcard characters CDbCriteria

Created 14 years ago by maigret maigret, updated 14 years ago by maigret maigret. 0 comments

In SQL, wildcard characters can be used in "LIKE" expressions; the percent sign (%) matches zero or more characters, and underscore (_) a single character. Sometimes users are not familiar with these or they are using different ones like (*) and (+) similar to regular expressions. My colleages do so and then i decided to add this feature by extending CbCriteria. Especially adding a new parameter $...

1 0
2
Viewed: 13 884 times
Version: 1.1
Category: How-tos