php-windows Digest 27 Nov 2001 09:07:36 -0000 Issue 873
Topics (messages 10609 through 10614):
Re: mulit dimensional array
10609 by: Boget, Chris
Re: Please help with PHP COM problem (using MS Office)
10610 by: Asendorf, John
10611 by: Asendorf, John
problems in connecting Access database
10612 by: Mihail Bota
10613 by: Erik H. Mathy
Re: PHP as ISAPI on IIS 5.0/win2k server
10614 by: dach
Administrivia:
To subscribe to the digest, e-mail:
[EMAIL PROTECTED]
To unsubscribe from the digest, e-mail:
[EMAIL PROTECTED]
To post to the list, e-mail:
[EMAIL PROTECTED]
----------------------------------------------------------------------
--- Begin Message ---
> i have set up an array like this...
> <?
> $myCart = "myShopping Cart";
I don't think you are allowed to have spaces in variable
names. Try removing the above space and see if that
doesn't fix your problem.
Chris
--- End Message ---
--- Begin Message ---
Nick,
You may need to work on the configuration for DCOM. I had an identical
problem on NT. You'll need to run the DCOM configuration and then, and this
is the real meat of what you need to do, is make sure Word's DCOM properties
are using the "interactive user"...
this seemed to be the main sticking point for me...
Let us know how it turns out.
---------------------
John Asendorf - [EMAIL PROTECTED]
Web Applications Developer
http://www.lcounty.com - NEW FEATURES ADDED DAILY!
Licking County, Ohio, USA
740-349-3631
Nullum magnum ingenium sine mixtura dementiae fuit
> -----Original Message-----
> From: Nicholas Catanchin [mailto:[EMAIL PROTECTED]]
> Sent: Sunday, November 25, 2001 5:06 PM
> To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
> Subject: RE: [PHP-WIN] Please help with PHP COM problem (using MS
> Office)
>
>
> > Ha! maybe you make the same mistake of many: PHP is server
> side only,
> you
> > can't expect to see word or excel on the client side...
> > Alain
>
> Why, then, do all the PHP examples using COM that I've seen (including
> yours at http://www.phpbuilder.com/columns/alain20001003.php3?page=2)
> include the "Visible = 1" command? Does it actually do anything?
> How _can_ I make the window visible then? I am running the servers on
> the same computer I am writing this message from, so I am on
> the server
> side...? if that changes anything?
>
> Please help.
>
>
>
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail:
> [EMAIL PROTECTED]
>
--- End Message ---
--- Begin Message ---
Here are the gifs if you're still looking for them.
John
---------------------
John Asendorf - [EMAIL PROTECTED]
Web Applications Developer
http://www.lcounty.com - NEW FEATURES ADDED DAILY!
Licking County, Ohio, USA
740-349-3631
Nullum magnum ingenium sine mixtura dementiae fuit
> -----Original Message-----
> From: alain samoun [mailto:[EMAIL PROTECTED]]
> Sent: Sunday, November 25, 2001 9:19 PM
> To: [EMAIL PROTECTED]
> Cc: Php-Windows
> Subject: RE: [PHP-WIN] Please help with PHP COM problem (using MS
> Office)
>
>
>
> It seems that you have a config problem with DCOM in XP. As
> it is a new box
> for me, I do not know if the config is the same as the one
> for NT. Anyway,
> attached are some gif files for DCOM in NT sent to me by John
> Assendorf.
> Hope it will help you, let us know if there are differences with XP.
> A+
> Alain
>
>
>
--- End Message ---
--- Begin Message ---
Hello,
I know this may be a stupid question, but I've looked everywhere for help
and since I could not resolve the problem myself, I am asking your help.
The problem is simple: i have an Access 2000 database (Windows 2000,
IIS5.0) that
i want to query it using php4.06.
I've added the database at the ODBC driver, the path to it is okay, but
when I try to run the simple thing like:
$conn = odbc_connect( 'test' , ' ', ' ' );
where test is the name of that database, then the output is smth. like
Warning: SQL error: [Microsoft][ODBC Driver Manager] Data source name not
found and no default driver specified, SQL state IM002 in SQLConnect in
c:\inetpub\wwwroot\test.php on line 11
Does anybody have any idea why this thing is happening and how I can solve
the problems?
Thanks!
Mihai
--- End Message ---
--- Begin Message ---
Hi Mihai!
> $conn = odbc_connect( 'test' , ' ', ' ' );
>
> where test is the name of that database, then the output is smth. like
>
> Warning: SQL error: [Microsoft][ODBC Driver Manager] Data source name not
> found and no default driver specified, SQL state IM002 in SQLConnect in
> c:\inetpub\wwwroot\test.php on line 11
Make sure all your details are correct.
$c = odbc_connect("odbc_name", "user", "password");
- Erik
--- End Message ---
--- Begin Message ---
thks a lot
it works very well
cheers
dach
"Phil Driscoll" <[EMAIL PROTECTED]> a écrit dans le message de news:
[EMAIL PROTECTED]
> On Tuesday 20 November 2001 6:16 pm, Laurent Protti wrote:
> > i've got a little problem, I try installing PHP 4.06 on my web server as
an
> > ISAPI filter. I've modified the webserver configuration to add the
filter
> > (php4isapi.dll which I copied in \winnt\system), modified the home
> > directory configuration so that .php files are interpreted by
> > php4isapi.dll, and when I restart the web server by net stop IISAdmin,
net
> > start w3svc, the ISAPI filter appears as not loaded and I get the
following
> > message in the event viewer :
> >
> > The HTTP Filter DLL D:\winnt\system\php4isapi.dll failed to load. The
data
> > is the error.
> >
> > The data contains 7e 00 00 00.
> >
> > Has anyone encountered the same problem and know how to resolve it ?
>
> First let me qualify this reply by restating the information in
install.txt -
> the ISAPI version of php is not of production quality, so even if you do
get
> it going, you will probably be disappointed by its reliabilty, whereas php
in
> cgi mode on IIS is rock solid. Secondly, I have never used W2K/XP or IIS5
so
> my comments really apply to my experience on NT4/IIS4.
>
> When the php4isapi module fails to load, it is usually because something
it
> depends on cannot be loaded. In your case (at least on NT4) php4isapi.dll
and
> php4ts.dll should both be in /winnt/system32, and php.ini should be in
/winnt.
> Your php.ini should (at least until you get it working) not have any
> extension modules enabled.
>
> If doing the above fails, try running php.exe -i from the command line to
see
> if you get sensible output, or a helpful error message.
>
> Cheers
> --
> Phil Driscoll
--- End Message ---