Search found 2 matches

by marcpeterson
Wed Aug 24, 2005 11:20 am
Forum: PHP - Code
Topic: Script with COM works from command line but no from browser
Replies: 3
Views: 98

Any idea how I change the account used to access COM objects through php? I'm thinking it's the php executable or dll itself that is getting run under the wrong account (since doing it from the command line works).
by marcpeterson
Wed Aug 24, 2005 2:14 am
Forum: PHP - Code
Topic: Script with COM works from command line but no from browser
Replies: 3
Views: 98

Script with COM works from command line but no from browser

I have a very simple script calling a COM dll that I registered with regsvr32. Using a browser, the php script crashes. But if I use the command line and type c:\php.exe c:\path to script\script.php then it works fine. It also works fine from the browser if run on other systems with php installed. I...