Wiki

Sorted by ratingX
Displaying 591-600 of 786 result(s).

Increasing AR performance in connections with Oracle

Created 7 years ago by TrejderHow-tos14 comments – viewed 26,552 times – ( +2 / -1 ) – version 1.1
Please, note. This article is entirely based on a work done by me colleague developer, who hasn't got account on this webpage and also hasn't got time for writing this article. I'm writing it for him. I will try to forward him any comments that may appear, but can't assure if/when he'll be able to answer. I'm far, far less experienced in Oracle therefore I won't probably be able to help myself.

Solution for session lose of Facebook iframe application in Internet Explorer .

Created 5 years ago by sirin kTips0 comments – viewed 8,704 times – ( +2 / -1 ) – version 1.1
Facebook iframe app’s session is losing in Internet Explorer when doing a second redirection inside the facebook iframe app.The main reason is ,by default IE wont allow cookies in its priavacy settings If cookies not available means session is also not available for our Facebook iframe app in IE.

Attaching multiple event handlers to onBeginRequest

Created 3 years ago by BoazHow-tos0 comments – viewed 8,034 times – ( +2 / -1 ) – version 1.1
There came the need to perform two operations, always, on 'application boot' time. Example? My real world example involved some geo-location logic (that's the first operation) and syncing of some session details so KcFinder can be in sync with the user in context - each user with his own session container (the second).

Catching bounce messages (NDR) and piping them to a Yii command

Created 5 years ago by bennounaTutorials0 comments – viewed 10,174 times – ( +2 / -1 ) – version 1.1
In order to avoid bounce messages and unsolicited registrations, most webapps send automatic activation emails upon user registration, and the account remain inactive as long as it is not activated. Better yet, you can periodically purge your data by removing accounts that have not yet been activated.

Installare Yii 2.0.* usando XAMPP su Windows in versione portabile

Created 3 years ago by realteboTutorials0 comments – viewed 14,609 times – ( +2 / -1 ) – version 2.0
Una delle soluzioni che preferisco per studiare un framework PHP è avere a disposizione un webserver portabile, ovvero che non richiede una vera e propria installazione. Questo mi permette spesso di lavorare direttamente su una chiavetta USB, potendo passare da un computer ad un altro di casa, o al lavoro, o dai clienti per le demo, senza alcun problema, avendo sempre con me l'ambiente server completo: server web, server MySQL, interprete php.

Using phpseclib with Yii

Created 5 years ago by nkdHow-tos8 comments – viewed 11,185 times – ( +2 / -1 ) – version 1.1
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 not requite mcrypt to be installed in the phpserver!
tags: security

Using jQuery UI 1.8.10 themes with Yii 1.1.6

Created 6 years ago by a110yTips7 comments – viewed 18,206 times – ( +2 / -1 ) – version 1.1
When using the latest stable jQuery UI themes (1.8.10) with Yii 1.1.6 (which uses 1.8.6) the widgets don't appear (they're invisible but they're there). In order to make them visible you need to change the following line:

pass variables or content block from view file to layout file

Created 5 years ago by yiqing95How-tos0 comments – viewed 22,738 times – ( +2 / -1 ) – version 1.1
If you use yiic to generate webApplication there will be a layout folder under the protected/views/, and the Controller class under protected/components which will use by default these layouts files.

Instanciar clase hija basada en campo de modelo padre (CActiveRecord)

Created 5 years ago by robregonmHow-tos0 comments – viewed 10,244 times – ( +2 / -1 ) – version 1.1
[EN] [ES]

Syncing sessions between Yii and KCFinder

Created 5 years ago by Thanasis FotisHow-tos8 comments – viewed 9,665 times – ( +2 / -1 ) – version 1.1
Info: As KCFinder's documentation mentions, if your application (Yii in our case) session handling is using the PHP environment configuration - meaning no change in session handling at all, then no change is needed also on KCFinder side to be able to use this session and thus have this simple interface between your Yii webapp and KCFinder. If that's your case then you probably need not read the rest of this article but rather just make sure that before a user attempts to upload or browse your server a session variable is already set for him (or her) with his specific configuration already waiting for KCFinder there. What can this session interface be useful for? For example, for having per-user upload directory. You could have uploadURL variable established in the session variable to contain the user's id. When an upload or browse use case will occur, the client side will trigger the KCFinder completely decoupled from the Yii application. Yet, since you've already synced your user-specific-configuration with KCFinder via the session, KCFinder will pick it up and use it.
tags: File upload