HomePHP 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.
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.