Aug
28
2012

Extract Youtube And Vimeo Video ID From Link

YouTube-vs-Vimeo

Sometimes we’re having problem to get video id from link to embed video in iframe, but however we find out temporary solutions but after few weeks we forget that function or method. There’re 2 main video sites youtube and vimeo and now we’ve functions for both youtube and vimeo. you just have to pass video link in function and it returns video id. For Youtube :

For Vimeo :

Jul
11
2012

How to overcome 500 internal server error when installing magento

magento-500

If you are installing Magento and you have uploaded your Magento files to your host and just when you are about to run the Installation wizard, you get “500 Internal Server Error”. This error is because of the inappropriate file permissions.

Jul
10
2012

How To : Get Specific Div From AJAX Response

AJAX With jQuery

Nowadays, We like to use jQuery to submit forms or use AJAX for many small small things, But sometimes we need only specific div to perform action or do something but the problem is AJAX returns full page data in response, getAjax.php :

Suppose you’re calling ajax to getAjax.php from index.html and you want only “.class1″ content in response to append in “#main”, Here’s the code : index.html :

Jul
10
2012

How To : Integrate Arrowchat For Core PHP Website / Application

Integrate Arrow Chat With Core PHP

Arrowchat is one of the powerful tool for chatting between users or friends of website, There’s a easy installation options for many CMS like wordpress, joomla and drupal but they provide a file integration.php for core installation also, You can find this file in “includes” Folder. You need to change in 3 functions : get_online_list get_link get_avatar get_online_list : This function is important because it shows list of online users

Above is the original […]

Jun
8
2012

Remove duplicate rows from a mySQL db table

mysql1

To remove the all the duplicate entries from a particular mysql table, use the below mysql query : Step : 1

What the above query does is, it will create a new table with the filtered data (all duplicate entries were deleted). Note : replace the whole  [COLUMN TO remove duplicates BY] with your column name Step 2: After that delete the old table

Step 3 : rename the new table

May
9
2012

Direct Download link for adobe reader

adobereader922873832124dsdds

adobe introduced their down-loader which downloads & installs the new version of adobe reader. This is frustrating many times as we may need to install the application from the system and not download it everytime from internet. This will help people with average / slower internet speed. http://get.adobe.com/reader/direct/ NOTE: If above link is redirected to normal page, click Download then cancel the down-loader and click on Troubleshooting Information at the bottom of downloading page. On […]

Apr
30
2012

How To : Add Custom Dashboard Widget in WordPress

wordpress-widgets

There’re few plugins which add custom widget in dashboard to get more attention, for example informing about their new versions or latest news about that plugin etc etc. We can also add widget in dashboard easily for our plugins or themes with wordpress function “wp_add_dashboard_widget”

Apr
17
2012

Force SSL using htaccess file

images

Many times on pages which process secure information such as login or checkout, we need to use SSL and to make sure every user uses SSL only, we can force SSL. Most of the Payment Gateway service require payment information to be processed & sent using only by SSL otherwise they can hold your funds. Worst case if by any chance credit card information is leaked because of incorrect setup, they may fine you as […]

Mar
24
2012

Convert any type of file to PDF

pdf-print

There is a very good utility to convert PDF files from any software like Microsoft Word, Powerpoint, Excel, Photoshop or virtually anything which can print something. It works like a Virtual Printer & When we print anything, it shows in printers list. It can be downloaded from Here http://www.bullzip.com/products/pdf/info.php

Mar
14
2012

Constant Contact Integration on website

ConstantContact_sprite

We need 3 items to integrate Constant Contact on our Website. 1.  Username 2. Password 3. API Key Like most other APIs and third party integration, it needs API KEY to utilize integration. API Key can be generated from below URL. http://community.constantcontact.com/t5/Documentation/API-Keys/ba-p/25015 Or alternatively, if this doesn’t work. You can try finding Developer Docs & look for the link to generate API Key.

Pages:«123»