Home arrow PHP arrow Page 2 - PHP Excel Implementation in XAMPP Localhost

Downloading and Installing PHP Excel Class in Windows XAMPP - PHP

If you are planning to use PHP to create and interact with a Microsoft Excel spreadsheet application, then you can use the PHP Excel class. It can be a little tricky to use, however, especially for beginners. This tutorial will walk you through the basics and show you how to customize it for your own Excel implementation.

TABLE OF CONTENTS:
  1. PHP Excel Implementation in XAMPP Localhost
  2. Downloading and Installing PHP Excel Class in Windows XAMPP
  3. Configuration of PHP Excel Class
  4. Testing Scripts to Create MS Excel Files
By: Codex-M
Rating: starstarstarstarstar / 6
July 27, 2010

print this article
SEARCH DEV SHED

TOOLS YOU CAN USE

advertisement

This section will guide you through downloading and installing the PHP Excel class in Windows XAMPP.

Step 1. Go to the official page: http://phpexcel.codeplex.com/ and then click the Download button.

Step 2. Go to the folder where the application has been downloaded. (In Windows, this is most likely found in the My Documents à Downloads folder)

Step 3. As of the time this tutorial was written (July 2010), the latest version is PHPExcel 1.7.3c. You should see the ZIP file of the application (for example 1.7.3c.zip) in the download folder.

You will need to right click on the zip archive and then "Extract to 1.7.3c". The zip application will then extract the entire contents to a folder named 1.7.3c.

Step 4. Rename the folder 1.7.3c to phpexcel  

The folder should contain the contents shown in the screen shot below: 

Step 5. Copy the phpexcel folder to your XAMPP htdocs directory.

If your XAMPP directory is installed in the root directory of your C: drive, the path to the phpexcel directory will be: C:xampphtdocsphpexcel

To see if you have correctly installed XAMPP in htdocs, try entering this path in your web browser: http://localhost/phpexcel/install.txt. You should see the contents of the install.txt file without a 404 or file not found error.



 
 
>>> More PHP Articles          >>> More By Codex-M
 

blog comments powered by Disqus
   

PHP ARTICLES

- PHP Closures as View Helpers: Lazy-Loading F...
- Using PHP Closures as View Helpers
- PHP File and Operating System Program Execut...
- PHP: Effects of Wrapping Code in Class Const...
- PHP: Building Concrete Validators
- Sanitizing Input with PHP
- Executing Shell Commands with PHP
- Handling File Data with PHP
- File Security and Resources with PHP
- ArrayObject PHP Class Examples
- ArrayObject PHP Class: An Introduction
- Getting File System Data with PHP
- PHP Tools for Working with the File and Oper...
- Working with the File and Operating System w...
- PHP Proxy Patterns: Completing a Blog


© 2003-2012 by Developer Shed. All rights reserved. DS Cluster 3 - Follow our Sitemap

Dev Shed Tutorial Topics: