?
Solved

php scripting

Posted on 2007-11-26
2
Medium Priority
?
212 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 5

Accepted Solution

by:
mms_master earned 1500 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

Are You Using the Best Web Development Editor?

The worlds of web hosting and web development are constantly evolving. Every year we see design trends change, coding standards adapt and new frameworks/CMS created. With such a quick pace of change it’s easy to get lost trying to keep up.

See if your editor made the list.

Question has a verified solution.

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

If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
Nothing in an HTTP request can be trusted, including HTTP headers and form data.  A form token is a tool that can be used to guard against request forgeries (CSRF).  This article shows an improved approach to form tokens, making it more difficult to…
Learn the basics of lists in Python. Lists, as their name suggests, are a means for ordering and storing values. : Lists are declared using brackets; for example: t = [1, 2, 3]: Lists may contain a mix of data types; for example: t = ['string', 1, T…
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 …
Suggested Courses

764 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