[PHP-DEV] PHP 4.0 Bug #9196: Cannot create ADO objects with MDAC 2.6

2001-02-09 Thread peter . johnson

From: [EMAIL PROTECTED]
Operating system: Win2K Winnt4
PHP version:  4.0.4pl1
PHP Bug Type: COM related
Bug description:  Cannot create ADO objects with MDAC 2.6

The code snippet below fails on the line which sets the Active Connection of the 
Command Object.  It works OK with MDAC 2.5 SP1, but not MDAC 2.6 - weird...

 ConnectionString = "Provider=SQLOLEDB;OLE DB Services=0;Persist 
Security Info=False;User ID=UserID;Password=Password;Initial Catalog=gfa;Data 
Source=DBSERVER;";
$conGFA -> Open;

$cmdGFA = new COM("ADODB.Command") or die("Unable to instantiate GFA DB 
Command Object");

$cmdGFA -> ActiveConnection = $conGFA -> ConnectionString;
?>


-- 
Edit Bug report at: http://bugs.php.net/?id=9196&edit=1



-- 
PHP Development Mailing List 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-DEV] PHP 4.0 Bug #9196 Updated: Cannot create ADO objects with MDAC 2.6

2001-02-10 Thread peter . johnson

ID: 9196
User Update by: [EMAIL PROTECTED]
Old-Status: Open
Status: Closed
Bug Type: COM related
Description: Cannot create ADO objects with MDAC 2.6

I've managed to work out what was wrong - it seems that if I am using the 
ZendOptimiser I get problems wth COM, otherwise it works OK.

Previous Comments:
---

[2001-02-09 13:45:11] [EMAIL PROTECTED]
The code snippet below fails on the line which sets the Active Connection of the 
Command Object.  It works OK with MDAC 2.5 SP1, but not MDAC 2.6 - weird...

 ConnectionString = "Provider=SQLOLEDB;OLE DB Services=0;Persist 
Security Info=False;User ID=UserID;Password=Password;Initial Catalog=gfa;Data 
Source=DBSERVER;";
$conGFA -> Open;

$cmdGFA = new COM("ADODB.Command") or die("Unable to instantiate GFA DB 
Command Object");

$cmdGFA -> ActiveConnection = $conGFA -> ConnectionString;
?>

---


Full Bug description available at: http://bugs.php.net/?id=9196


-- 
PHP Development Mailing List 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-DEV] php_curl

2001-03-05 Thread Peter Johnson

Hi there

I am using the latest version of PHP (4.05 dev) compiled by php4win.de.  I
am running on Win2K and trying to make use of php_curl extension.  Whenever
I do a post, the call to curl_exec never returns.  The only way I can make
it return is by setting a timeout in curl_setopt.  I need the return value
from the script to parse, but I am not getting this.

This all worked fine in 4.04.  I am having to use 4.05-dev because of the
fixes to the COM functions.

Any help given much appreciated
Peter

-
Peter Johnson
Email: mailto:[EMAIL PROTECTED]
---
The information in this internet eMail is confidential and is 
intended solely for the addressee. Access, copying or re-use of 
information in it by anyone else is unauthorised. Any views or 
opinions presented are solely those of the author and do not 
necessarily represent those of Unified Solutions Ltd or any of 
its affiliates. If you are not the intended recipient please 
contact Unified Solutions Ltd, +44 (0) 1753 775050
---


-- 
PHP Development 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]




[PHP-DEV] RE: Bug #10511 Updated: Cannot set COM object properties

2001-04-30 Thread Peter Johnson

Thanks for the quick response.

When I logon as my webuser, and execute from the command line, the scripts
still fail.  I have changed the permissions to give this webuser admin
rights, but the scripts are still failing.  Accessing the same scripts with
no authentication works fine.  

Any other ideas I can try?

Cheers
Peter

-Original Message-
From: Bug Database [mailto:[EMAIL PROTECTED]]
Sent: 29 April 2001 16:00
To: [EMAIL PROTECTED]
Subject: Bug #10511 Updated: Cannot set COM object properties


ID: 10511
Updated by: phanto
Reported By: [EMAIL PROTECTED]
Old-Status: Open
Status: Closed
Bug Type: COM related
PHP Version: 4.0.4pl1
Assigned To: 
Comments:

make sure, that the logged in user (after basic authentication) has enough
rights to change these properties.
try to run the script from the commandline logged in as
one of the webusers.

harald

Previous Comments:
---

[2001-04-26 10:10:57] [EMAIL PROTECTED]
I am accessing ADO COM objects through PHP.  I am using PHP 4.05 RC6 on
Win2K in CGI mode.  If I change the authentication from anonymous access, to
requiring a login through basic authentication, then the scripts fail and
cannot set properties on the COM object.  The same scripts work fine when
run as the anonymous user.  Very weird...

Thanks in advance for any help

Cheers
Peter

---



ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at
http://bugs.php.net/?id=10511&edit=2

-- 
PHP Development Mailing List 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-DEV] Bug #10511: Cannot set COM object properties

2001-04-26 Thread peter . johnson

From: [EMAIL PROTECTED]
Operating system: Windows 2K
PHP version:  4.0.4pl1
PHP Bug Type: COM related
Bug description:  Cannot set COM object properties

I am accessing ADO COM objects through PHP.  I am using PHP 4.05 RC6 on Win2K in CGI 
mode.  If I change the authentication from anonymous access, to requiring a login 
through basic authentication, then the scripts fail and cannot set properties on the 
COM object.  The same scripts work fine when run as the anonymous user.  Very weird...

Thanks in advance for any help

Cheers
Peter


-- 
Edit Bug report at: http://bugs.php.net/?id=10511&edit=1



-- 
PHP Development Mailing List 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]