Home » Archive

Articles in the PHP Category

Magento, PHP, Review »

[8 Mar 2010 | 5 Comments | 634 views]

PACKT Publishing has published a very useful Magento Developer Guide. This book has practical tutorials with examples. This book will be very useful for PHP Programmers who want to learn Magento architecture, extend the system and add new features to it.

jQuery, PHP »

[20 Jan 2010 | 15 Comments | 7,501 views]

In this article, I will be showing you how to create jQuery AJAX tabs in a very simple and easy way. View Demo || Download Code Here, tabs.php contains the php code which contains data to be displayed.

PHP »

[14 Jan 2010 | One Comment | 204 views]

Below are the most commonly used php directives. You have to change php.ini file in order to configure php settings. This just means changing these directive’s option and value. 1) short_open_tag = Off

PHP »

[14 Jan 2010 | No Comment | 1,761 views]

We can view the php settings by creating a php file in our web root with the following code: Let the name of the file be phpinfo.php Open http://localhost/phpinfo.php in your browser in your local computer. If you are working online then open http://yoursite/phpinfo.php

PHP, XML »

[23 Oct 2009 | 2 Comments | 2,918 views]

In this article, I will be showing you how to create and read xml document with php’s DOMDocument. The DOM extension allows you to operate on XML documents through the DOM API with PHP 5. Below is the code to create XML file. I have named the output file ‘example.xml’. For better understanding, I have [...]

Javascript, PHP »

[23 Oct 2009 | No Comment | 1,291 views]

I had to work on multi-dimensional array with javascript and php. I had a multi-dimensional array in php. I had to load it into javascript array and then populate the html selection list. The challenge for me was to create multi-dimensional array in javascript and populate selection list with for loop in javascript.

PHP, XML »

[23 Oct 2009 | 2 Comments | 5,898 views]

In this article, I will be showing you how to create and read xml document with php’s SimpleXML extension. The SimpleXML extension provides a very simple and easily usable toolset to convert XML to an object that can be processed with normal property selectors and array iterators.

jQuery, PHP »

[29 Jun 2009 | 10 Comments | 13,144 views]

Here, I am going to show you how easy it is to upload multiple files with the help of jQuery and PHP. I suppose that you are familiar with php and apache web server.

PHP »

[29 Jun 2009 | No Comment | 563 views]

Let the page path be: http://localhost/test/admin/index.php Get the server name/site name of your website: echo $_SERVER['SERVER_NAME'];

PHP »

[14 Nov 2008 | One Comment | 4,828 views]

Earlier I had written an article on How to get(view) html source code of a website . I had created an application and that would grab the html code of any website. In this article, I will be writing on how you can modify the looks of a website by changing the html source code [...]

PHP »

[2 Jul 2008 | 4 Comments | 1 views]

In this article, I will be illustrating about getting html source code of any website. I have done this in PHP.

PHP »

[30 Mar 2008 | No Comment | 237 views]

From the code below, you can get IP Address, Page name, Browser name, Operating System name, and Page Referrer name. Note: If you directly run this code, you will not get Referrer name. To view referrer information, you can link the page below from any other page.  

PHP »

[23 Mar 2008 | No Comment | 101 views]

I find timestamp more flexible to use. Using time function which returns current Unix timestamp. We have the flexibility to change the timestamp according to the display requirement for our date and time by using date function.

PHP »

[19 Mar 2008 | 2 Comments | 276 views]

Refreshing page in PHP with “meta http-equiv”. refresh.html

PHP »

[19 Mar 2008 | No Comment | 119 views]

Generating/Displaying random image in PHP.