Run PHP based cron job on localhost windows

Here i will possible solutions to run cron jobs on Windows: Solution-1 using Task scheduler: In your Windows 7/windows 2005/2008. Go to Startmenu->All Programs->Accessories->System Tools->Task Scheduler->create Task In the new window: General (Give the Task name and for testing you can select “Run when User is logged in”) Trigger (You can Select the running interval […]

read more

Set odbc connection using php

Using ODBC with PHP ODBC is one of Microsoft’s earliest technologies for connecting to databases. It is very popular and widely used. This article describes how to setup and use ODBC from a PHP perspective. Here are the steps for odbc connection: Now you can execute any query using connection variable. That’s solve, if you […]

read more

MailChimp API – Subscribe User Email Using PHP

MailChimp let your users to subscribe and you can send them newsletters in bulk and manage your subscriber’s lists. Although MailChimp provide forms and lot of APIs and functions but for that you need to google and search, it takes time. Here I’ll show you how you can simply write some code in to your site […]

read more

Parse.com using PHP SDK

The Parse PHP SDK gives you access to the powerful Parse cloud platform from your PHP app or script. Installation: Get Composer, the PHP package manager. Then create a composer.json file in your projects root folder, containing: If you don’t want to use Composer, you can include the autoload.php file in your code to automatically […]

read more

Create Bit.ly short URLs using PHP

One of the more popular URL shortening services is Bit.ly. I’ve showed you how to create short URLs with TinyURL and Is.Gd, so why not show you how to create Bit.ly URLs remotely? PHP Code Note that Bit.ly requires you to sign up for an account. Once you have an account, you may attain your […]

read more

Create PDF using Codeigniter

In some cases, we need the report as a pdf or html conversion to pdf. So now I will try to explain how to create pdf page in CodeIgniter. To create pdf page, we use library for creating pdf, in this example I will use library tcpdf from http://www.tcpdf.org/. Besides using tcpdf, you can also […]

read more

Install Laravel Framework in Windows

Please follow these steps Install Laravel Framework in Windows *PHP version greater than 6.3.7 is required. Download Laravel from: https://github.com/laravel/laravel/archive/master.zip. Extract Laravel into the www folder for WAMP (http://www.wampserver.com). Download Composer from: https://getcomposer.org/Composer-Setup.exe Enable openssl from all php.ini files. Install Composer into the same directory php.exe is located. Click on WAMP icon->PHP->PHP Extensions and enable: […]

read more

Backup Your MySQL Database Using PHP

One of the most important tasks any developer needs to do often is back up their MySQL database. In many cases, the database is what drives most of the site. While most web hosts do a daily backup of a customer’s database, relying on them to make backups and provide them at no cost is […]

read more

Pagination with CodeIgniter

When you perform a search on Google, the results are displayed in a list and you have the option to click through pages of the results. That is an example of pagination. Pagination simply means the user has the ability to click through the pages of results, viewing a subset of them each time, rather […]

read more