check to make sure you have extension_dir = c:\php\extensions or
c:\winnt\system32 (whereever you are loading the dlls) in php.ini
-Original Message-
From: Mike [mailto:[EMAIL PROTECTED]]
Sent: Thursday, November 01, 2001 11:45 AM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: [P
";
}
?>
more information on how to use date() and the rest of the built in PHP
functions can be found here:
http://www.php.net/manual/en/function.date.php
rob.
-Original Message-
From: Marius [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, October 30, 2001 4:13 PM
To: [EMAIL PROTECTED]
Subjec
Hmmm.. I don't know. Are you using the php function exec()? I have had
some problems with that before when using the ISAPI filter. I had to go
to the cgi version to get that to work. I believe the errors I recieved
when calling exec() or system() using the php ISAPI filter were
permission errors,
Never setup a Win2k DNS server, but my guess is only local Admin or
someone specified in a "DNS Admin" group would be able to execute
dnscmd. That might explain why you could do it from a command line. IIS
executes php.exe using IUSER_. That acct would probably
have to be added to the "DNS Admin"
After changing the permissions using dcomcnfg.exe, it is working. I never
knew that existed.. Thanks Alan! Also thanks to everyone else who had
suggestions.
rob.
-Original Message-
From: Alan Brown [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, August 28, 2001 2:19 PM
To: Mize, Robert
I am having issues instantiating word or excel using COM.
I get the error:
Warning: Unable to obtain IDispatch interface for CLSID
{000209FF---C000-0046}: Access is denied. in
C:\Inetpub\wwwroot\website\excel\word.php on line 3
Unable to instanciate Word
Line 3 is:
$word = new COM
If I have a set of variables named say:
$var_1
$var_2
$var_3
and I want to use a for loop to do something with the variables like:
for($i=1; $i<4; $i++){
echo $var_$i;
}
how do I do this so that $var_$i is interpreted as the variable ($var_1
ect)?
Thanks,
rob.
--
PHP Windows Mailing List (