Solved

php scripting

Posted on 2007-11-26
2
207 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Active Directory replication delay is the cause to many problems.  Here is a super easy script to force Active Directory replication to all sites with by using an elevated PowerShell command prompt, and a tool to verify your changes.
Password hashing is better than message digests or encryption, and you should be using it instead of message digests or encryption.  Find out why and how in this article, which supplements the original article on PHP Client Registration, Login, Logo…
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

863 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now