php5activescript mostly works but odd gaps

From: xpertl (patrick.pjbj_at_btopenworld.com)
Date: 09/21/04


Date: Tue, 21 Sep 2004 10:47:32 +0000 (UTC)

I am involved in getting an application running to allow web sites with
script pages to run off CD. It has worked with ASP for years (Dynamic-CD)
but we want to get php in there as well. We have put in the dll and fiddled
about with a bit of parsing and it nearly all works but with a few critical
bits missing. It's probably something obvious I need to put in the
php-activescript.ini or add in and recompile the dll.

Here are the symptoms:

$_SERVER, $_GET, etc are all blank although the $_ENVs seem to be there.
session variables are being written to the \Program Files\PHP\sessiondata
directory as specified but are not available to chained script files.
some functions such as echo and phpinfo work but nothing is output. However
if I ob_start(); phpinfo();// or echo something;
$Response->Write(ob_get_contents());
everything is fine!
May not be relevant but I am running the scripts and parser programs on C:
drive although I am logged in and working through MSVC++ on I: (some of the
debug stuff is hard coded to C:)

Paddy



Relevant Pages

  • Re: Protecting ASP code
    ... >I did write some asp code, that I sell to companies, to control several ... Because I sell the code, it's not that they own the code and can ... It's called a DLL. ... > a) Create iis readable script ...
    (microsoft.public.inetserver.asp.general)
  • [ann] another way to call apis from script (the PB way)
    ... a dll and a typelib. ... you run the script, which will interface with a "standard" ... "COMforDLL" will work with a standard dll, ... work with win98 if I manually copied the winXP registry ...
    (microsoft.public.scripting.vbscript)
  • Re: Need help with running vbs in Custom Actions Commit
    ... You're going to have to post your exact script. ... because that WILL fail in a custom action and is a common error. ... It is extremely ususual for one Dll to require registration before another. ... I am using MSI for my setup project in VS2005. ...
    (microsoft.public.vsnet.setup)
  • Re: Embedding a VB script in DLL
    ... into a COM dll. ... the "microsoft script control" in your dll to run the ... you could compile your script ... you need a "resource compiler". ...
    (microsoft.public.scripting.vbscript)
  • Re: Protecting ASP code
    ... It's regarding protecting asp code. ... > It would mean a lot for me, if you could help me to protect my code ... > d) Windows Script Encode, ... > c) will this dll solution be steady enough against asp code. ...
    (microsoft.public.inetserver.asp.general)