Re: [PHP-DB] Oracle 9 and PHP 4.3.x

2003-10-22 Thread Alberto Grájeda C.
Don't use setenv. Set the variables in apache init script. This should fix the problem. Good luck. Alberto. On Wed, 22 Oct 2003, Johan Kruger-Haglert wrote: On Wed, Oct 22, 2003 at 10:44:36PM +1000, Christopher Jones wrote: What errors does PHP give you? ORA-03117: two-task save

Re: [PHP-DB] Acceso a Oracle (Replanteo mi pregunta)

2003-07-03 Thread Alberto Grájeda C.
If you compile php with oracle you need at least an oracle client installed in server (where php resides). Another solution is the connection via odbc (you need compile and test odbc in your web server). In the other side, normally when you install oracle in nt you have an odbc driver (Check

[PHP-DB] Post without user hitting submit button

2003-02-12 Thread Alberto Grájeda C.
The problem: register.php {objetive: Validate users in email server} register.php has form1 (take email and emailpassword), with this information and validating to the user in email server, I search in database other information (user_cod, password2), this information must be sent to a cgi via

[PHP-DB] Oracle + PHP + Linux Red Hat {again}

2003-02-05 Thread Alberto Grájeda C.
Please, any idea to resolve my problem!!! I have the output: Connected to DataBase Oracle! Warning: OCIStmtExecute: ORA-03106: fatal two-task communication protocol error in /var/www/html/ora2.php on line 21 Warning: OCIFetchStatement: ORA-24374: define not done before fetch or execute and

Re: [PHP-DB] Where can I get an extention to connect to PostgeSQLDB on Unix?

2003-01-24 Thread Alberto Grájeda C.
I will give you some tips: * With phpinfo verify that you have included the module in the configuration. Something like --with-pgsql=shared * In php.ini enable extension=pgsql.so * In php.ini, search extension_dir, and in that location (normaly /usr/lib/php4) copy the module (archive) pgsql.so.

[PHP-DB] ORA-03106 Error

2003-01-22 Thread Alberto Grájeda C.
I have the problem: ORA-03106: fatal two-task communication ... I'm running redhat 7.3 with oracle 9i client connecting to oracle 8.0.5 Server on NT. I put the putEnv to $ORACLE_HOME,$ORACLE_SID,I use OCIDefineByName, but the result is the error. When I'm using the oci functions I can't