May 23, 2010
DW VChart Component
Hello All, I have added new product in my store, Kindly rate and review.
DW VChart Component for Joomla 1.5
This component is submitted to JED visit DW VChart Component. Kindly rate and give...
read more
Jul 24, 2010
Delete Directory in PHP
This post will be helpful to those who work with directories and files.
I am writing here the PHP code for deleting the directory.
<?php
$extract_dir = 'path'; //physical path of the directory
if(deleteDirectory($extract_dir))...
read more
Jun 29, 2010
Catalog Product Model
While working in Magento, you might have seen that there are various model defined like sales,catalog etc.
I am writing here a script for working with catalog product model.
<?php
$model...
read more
Jun 6, 2010
Mail in Magento
While working in Magento eCommerce, many times need arises to send mail from within custom modules.
Magento is based on Zend, Zend has a class defined for doing this.
I am listing here the method...
read more
Jun 6, 2010
MySQL Database restore
I have already listed the PHP script to generate backup of database in one of my earlier post.
I am listing here the PHP script to restore database from mysql database file.
<?php
/* Database...
read more
Apr 10, 2010
Passing by Reference
I am listing here a simple example to explain ‘passing by reference’ in PHP.
I hope it is helpful.
<?php
$a = 5;
echo 'A1->'.$a.'<br/>';
$b = 6;
$a =& $b;
echo 'A2->'.$a.'<br/>B1->'.$b.'<br/>';
global...
read more
Mar 26, 2010
DW Graph Component
Hello All, I have added new product in my store, Kindly rate and review.
Graph Component for Joomla 1.5
This component is submitted to JED visit DW Graph Component. Kindly rate and give reviews.
read more
Mar 10, 2010
Insert and Retrieve file with MySQL
Some of you might be knowing that there is a functionality in MySQL database for storing files and retrieving the same.
This is mainly used when we need to reduce response time for retrieving...
read more
Feb 26, 2010
Reading XML
I am listing here method for reading XML file or XML string with the help of PHP.
<?php
$xml =<<<EOT
<?xml version="1.0"?>
<root>
<section name="Section1">
...
read more
Feb 24, 2010
Get Product ID and Product Name in Magento
In Magento eCommerce while working with catalog model, There arise the need to fetch product details from product id.
We can get all product details if we have product id.
But sometimes we only...
read more
