Solved

php scripting

Posted on 2007-11-26
2
209 Views
Last Modified: 2013-12-13
How do I create a VB script to run on PHP that will open an excel file (has to run on the server side).
0
Comment
Question by:evault
2 Comments
 
LVL 5

Accepted Solution

by:
mms_master earned 500 total points
ID: 20361021
As far as Im aware you can't create a VB script that will run server side with PHP. (But I could be wrong as I don't know much VBScript).
If you want to read an excel file using PHP alone, theres 2 ways you can do it.

First, you could save the excel files in a tab delimited or comma delimited format and then use php's fopen function to open the file and php's various split and replace functions to parse the text.

Second, you could have a look at a file I found using Google:
http://sourceforge.net/projects/phpexcelreader/

I would recommend the first option if possible, as I read that if you open large excel files with the second option it uses up php's memory fast.
0
 
LVL 14

Expert Comment

by:Juan Ocasio
ID: 20370695
as mms_master stated you can't do that (unless you're running . asp and .php on the same server).  But you shouldn't mix scripting/web languages.
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
Introduction This article is intended for those who are new to PHP error handling (https://www.experts-exchange.com/articles/11769/And-by-the-way-I-am-New-to-PHP.html).  It addresses one of the most common problems that plague beginning PHP develop…
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

839 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question