Wiki

Sorted by ratingX
Displaying 561-570 of 774 result(s).

Increasing AR performance in connections with Oracle

Created 5 years ago by TrejderHow-tos14 comments – viewed 22,916 times – ( +2 ) – 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 3 years ago by sirin kTips0 comments – viewed 7,665 times – ( +2 ) – 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 2 years ago by BoazHow-tos0 comments – viewed 6,097 times – ( +2 ) – 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 3 years ago by bennounaTutorials0 comments – viewed 8,814 times – ( +2 ) – 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 2 years ago by realteboTutorials0 comments – viewed 10,341 times – ( +2 ) – 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 3 years ago by nkdHow-tos8 comments – viewed 9,122 times – ( +2 ) – 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

Cómo enviar emails usando SMTP

Created 2 years ago by robregonmHow-tos0 comments – viewed 6,405 times – ( +2 ) – version 2.0
Seguir a @robregonm

pass variables or content block from view file to layout file

Created 3 years ago by yiqing95How-tos0 comments – viewed 19,091 times – ( +2 ) – 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 3 years ago by robregonmHow-tos0 comments – viewed 8,157 times – ( +2 ) – version 1.1
[EN] [ES]

Syncing sessions between Yii and KCFinder

Created 3 years ago by Thanasis FotisHow-tos8 comments – viewed 7,986 times – ( +2 ) – 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