Wiki

Sorted by date (updated)X
Displaying 11-20 of 785 result(s).

Importing CSV file to mysql table using "LOAD DATA" command.

Updated 3 months ago by Maurizio Domba CerinTips6 comments – viewed 49,769 times – ( +7 / -1 ) – version 1.1
hi, Here i am giving you some simple step to import huge data from a csv file to your mysql table.this is useful when you have a very huge data to import from csv format.
tags: csv, mysql, import

Displaying image in a CGridView column.

Updated 3 months ago by Maurizio Domba CerinHow-tos5 comments – viewed 63,243 times – ( +13 / -2 ) – version 1.1
This is a simple example of how we can display images in CGridviews.Imagine that you have an image field in your table ie either a location field or a blob type field used to store the images.
tags: CGridView, image

Storing your images in your table's blob field and displaying that stored images.

Updated 3 months ago by Maurizio Domba CerinHow-tos7 comments – viewed 34,260 times – ( +9 / -2 ) – version 1.1
He im giving you a very simple example ie how you can store an image to your blob field in a table.Hope you already familiar with the normal image upload.
tags: blob, image

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

Updated 3 months ago by Maurizio Domba CerinTips0 comments – viewed 8,550 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.

Working with relational removals by yii2

Updated 3 months ago by Jairus MartinTutorials2 comments – viewed 8,908 times – ( +1 / -1 ) – version 2.0
This tutorial shows you how to safely remove records between relationships.

Using Nginx and Apache2 in separate distributed servers (ie, Amazon EC2 instances)

Updated 4 months ago by Luis Lobo BorobiaTips0 comments – viewed 6,627 times – ( +2 / -1 ) – version all
We are running one frontend running NGINX and several app servers running Apache2. There are several issues we have come across but right now I'll be documenting one of them. I'll be completing this article when I get more time.

How to make UrlManager createAbsoluteUrl work with sub-domains

Updated 5 months ago by Wade ShulerHow-tos1 comment – viewed 6,012 times – ( +2 / -1 ) – version 2.0
Upon creating my Yii2 Members System, I have ran into a few snags along the way that forced me to extend and bend Yii2 to my will.

i18n All-in-one format and timezone conversions for date, time, timestamp and datetime.

Updated 6 months ago by Gerhard LiebenbergHow-tos3 comments – viewed 21,790 times – ( +8 / -2 ) – version 1.1
Countries sometimes change their laws pertaining to time zones and daylight saving times. This means that GMT+2 can be a different local time this August compared to last August! It could even be a different date!

Show raw SQL query

Updated 8 months ago by dariooFAQs0 comments – viewed 15,010 times – ( +2 / -1 ) – version 2.0
Here's a quick tip to dump the SQL for query.

Using loginRequiredAjaxResponse to solve ajax session timeout

Updated 8 months ago by RutgerHow-tos3 comments – viewed 27,569 times – ( +13 / -1 ) – version 1.1
This solution requires Yii 1.1.9 or above