|
-
Mar 2nd, 2010, 08:18 AM
#1
Thread Starter
Frenzied Member
CGI Error
Hello Everybody,
I am trying to integrate word document with php. I have just one line in my code i.e. $word = new COM("word.application");.
When I run the page, it says on a message box "The instruction at 0x100ba8a8 referenced memory at 0x00000004. The memory could not be read."
On the page it says "The specified CGI application misbehaved by not returning a complete set of HTTP headers. The headers it did return are:".
Any workaround for this?
Thanks.
-
Mar 2nd, 2010, 10:32 AM
#2
Re: CGI Error
What headers is it returning?
The only relevant response I could find was
well I guess it's kind of stupid
but the problem was solved by installing php as ISAPI instead of cgi which I don't know why it was installed that way .
it also solved some issues I had with the source encoding and hebrew which brought up some weird mysql chraset #16 unavailable msg in some pages (even that most of the other hebrew pages encoded the same way worked perfectly )
any way if your server runs Windows and php is installed as cgi shout at your stupid sysadmin to instal it as ISAPI
-
Mar 4th, 2010, 10:33 AM
#3
Thread Starter
Frenzied Member
Re: CGI Error
Would you please tell me how to get the headers?
Thanks.
-
Mar 14th, 2010, 05:09 AM
#4
Re: CGI Error
Could you tell me a little bit about your setup:
* Windows version.
* The version of PHP
* Web Server type and version (e.g. IIS / Apache)
* Running PHP as a CGI or a Module
* The version of Office / Word you have installed.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|