Wiki

Sorted by ratingX
Displaying 541-550 of 753 result(s).

Integrate Zend 2 XML writer into Yii

Created about a year ago by JonnyTutorials0 comments – viewed 3,602 times – ( +2 ) – version 1.1
By Integrating the Zend 2.* framework into Yii you can quickly and painlessly generate XML outputs from your controllers. This will be helpful to anyone who has never done this before or only done it with Zend 1 as the introduction of namespaces can be strange when you first view them.
tags: zend, XML

Upload image and content using AJAX and Store it in different table

Created about a year ago by SelvakumarHow-tos1 comment – viewed 35,384 times – ( +2 ) – version 1.1
We all know how to upload the content and images at the same time with refreshing the page. And uploading the images using Ajax we have faced some issues, here i have fixed the issues and both content and photos are uploaded using Ajax. And both content and images are stored in the different tables

Configuring Yii to run on both Windows and OSX

Created about a year ago by trondHow-tos2 comments – viewed 3,730 times – ( +2 ) – version 1.1
If you develop your Yii project on both Windows and Mac, there can be a problem setting up the configuration unless the configurations for both system are identical. On my machines I have the following configurations:
tags: config

Custom Archive in Blog system

Created 3 years ago by nirmalrokaTips0 comments – viewed 4,819 times – ( +2 ) – version 1.1
Hi I had made simple archive system for blog system that can handle tbl_post. I had used simple CDbCriteria not more than that. I know there is more and many better way to this but I think this will give some idea to users to generate new idea or customized or modified this version of code.

Entire Messages into javascript object

Created 3 years ago by markuxHow-tos0 comments – viewed 5,322 times – ( +2 ) – version 1.1
I needed all messages with their translation into javascript. This is my solution:

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

Created 3 years ago by sirin kTips0 comments – viewed 6,841 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 about a year ago by BoazHow-tos0 comments – viewed 4,531 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 2 years ago by bennounaTutorials0 comments – viewed 7,798 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 about a year ago by realteboTutorials0 comments – viewed 7,095 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 2 years ago by nkdHow-tos8 comments – viewed 7,896 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