search
top

MS SQL with PHP

Below is the simple PHP (>= 7.0.0) script to connect with the MS SQL database <?php try { $hostname = ""; //host name $port = 1433; //port number $dbname = "";...
read more

MS SQL with Magento

Here is a way to connect mssql database using Magento’s inbuilt models. <?php include_once 'app/Mage.php'; Mage::app(); $host = '';//in the format 127.0.0.1:1433 , 1433 is the...
read more

Coupon Codes Generator

I am describing here a way to generate coupon codes with custom configurable parameters. <?php function re($l,$d,$pre,$suf,$charset,$del) { $length = max(1,$l); $split = max(0,$d); ...
read more

Random String Generator

Below is a simple script to generate random string/password using PHP. You can customize the same by adding special characters. <?php function randomPassword() { $alphabet = "abcdefghijklmnopqrstuwxyz ABCDEFGHIJKLMNOPQRSTUWXYZ 0123456789"; ...
read more

Email with attachment in Magento

I had a specific requirement to generate a CSV file and send the same as an attachment in a mail, without saving it at any physical location. I am listing here the way to do it. <?php $csv...
read more

cURL request in Magento

cURL request in Magento Most of the time there is a need to call 3rd party APIs from Magento. We use cURL functions for the same, now here is an interesting part, Magento has wrapper functions...
read more

DW File Management Component

Download the component :. Commercial version (with customizable features) : Visit . DW File Management Component and Plugin for uploading to, downloading and deleting files from Website based...
read more

DW Graph Component

Hello All, I have developed a new component and added it in my store, JED extension link DW Graph Component. Kindly rate and review. Graph Component for Joomla! 3
read more

« Previous Entries

top