Category : PHP Guide

HireBee Apptheme Nulled free

http://demos.appthemes.com/hirebee/how-it-works/ I will install on your server contact me: info@chandandubey.com   HireBee Apptheme Nulled

How to create and add Alexa ranking widget in your website or blog

The two main factors that decides your website’s popularity isAlexa rank and Google Page rank which we have discussed earlier. Alexa shows the information for every websites globally, so adding your website details in Alexa is a good idea. Just a few posts back we have discussed that too about claiming and submitting your site in Alexa. Here we will see how to create and add Alexa ranking widget in your website or blog. So why is Alexa rank important? […]

Smart-export-import-opencart-1.5.5.1

Smart-export-import-opencart to Excel the whole data for all your products, including Category / Optionsthe feature1.The Smart Export/Import Tool allows to incremental import/export( Continuous import your product’s data with Excel file one by one) 2.new data will be inserted. old data is still there,exist data is will modify 3.of all the categories, all message of products , and product options to an Excel spreadsheet file. 4.The spreadsheet file can be edited offline and then be re-imported to the OpenCart database. 5.if […]

Returning a list of array keys in MongoDB

Here’s how I return a list of keys from an associative array (i.e. an embedded document) without also returning their value. The data structure I have is shown below. It’s made up of an associative array [friends], which contains a set of keys (Twitter usernames) and values (details about the user). My aim was to return a list of the Twitter usernames, without all of the details associated to them which – in some cases – could be quite a […]

Adding my “3rd party” module into /vendor in Zend Framework

This wasn’t initially obvious to me, but when creating a generic module to use across multiple Zend Framework 2 projects (thus putting it in /vendor) you can include a Module.php file in the root of the module’s directory to make registering the namespace with Zend’s StandardAutoloader simple. (I had assumed this was just how it worked under the /module directory). So for example – I have a module with the namespace ‘Nas’, so I store it under: /zf2/vendor/Nas And then […]

Facebook PHP SDK Zend Framework 2

In ZF1 I would generally include 3rd party API wrappers (Facebook, MailChimp, Google, etc) in Bootstrap.php using something like: 1 2 3 4 5 6 7 8 9 protected function _initIncludes(){ include_once( ‘MobileDetect/Mobile-Detect-2.php’ ); include_once( ‘Facebook/php-sdk-v3.1.1-27/src/facebook.php’ ); include_once( ‘Google/google-api-php-client-0.5.0/src/apiClient.php’ ); include_once( ‘MailChimp/MCAPI-1.3.class.php’ ); } //_initIncludes Facebook PHP SDK Zend Framework 2 However there isn’t really anywhere appropriate to ‘include’ things this way in ZF2. Ideally we want to include the 3rd party class in the (/all) module(s) that actually use […]