Re: [PHP] PHP + DB2

2001-12-17 Thread Rares Vasilescu

> Using ODBC should be fine; what problems are you having with input/output
> parameters?
I have a stored procedure like this:
CREATE PROCEDURE ADMINISTRATOR.Proc2 (IN idc INT,OUT max int) .
P1: BEGIN
SET max = 22;
END P1

And I try to call it like this:

$ps = "CALL ADMINISTRATOR.PROC2(2,?)";
$result = odbc_prepare($link,$ps);
$arrparam = array(1);
$rst = odbc_execute($result, $arrparam);
echo $arrparam[0];

and no luck.

> Also, what ODBC drivers are you using?
IBM DB2 ODBC DRIVER 7.01.00.40

I appreciate any suggestion.
Rares


-- 
PHP General 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] PHP + DB2

2001-12-17 Thread Rares Vasilescu

hi
Anyone here used PHP to connect to a IBM DB2 database? Of course, using ODBC. I am 
having difficulties calling stored procedures with input/output parameters.

Any help is appreciated.
Rares



[PHP] PHP + DB2 @ Win2k

2001-12-13 Thread Rares Vasilescu

Hi.
I am in the process of developing a web app. over the IBM DB2 database. So I'm 
interested if any of you have knowledge of such a sucessful combination: PHP + DB2 on 
Windows 2000 platform (using IIS or IBMHttpd Server - wich is Apache, by the way).
If so, please contact me to discuss further details.

Thanks, 
Rares



Re: [PHP] Re: php 4.1.0 output compression

2001-12-13 Thread Rares Vasilescu

From: "Yasuo Ohgaki"
> How does it work? Read RFC for HTTP/1.1

I meant how do i tell PHP to use output compression.
Does PHP automatically detect the browser capability and send a compressed
response or do i have to activate it in my scripts. Or in the configuration
file?

 I know the HTTP rfc well (as i tried to implement this for myself).

Thanks for your aswer,
Rares


-- 
PHP General 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] php 4.1.0 output compression

2001-12-12 Thread Rares Vasilescu

Anyone has tried out yet the output compression?

How does it work, is it really stable?

Rares