Re: [PHP-DB] Oracle 9 and PHP 4.3.x
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 area overflow > ORA-12154: TNS:could not resolve service name > -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP-DB] Acceso a Oracle (Replanteo mi pregunta)
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 control panel -> ODBC). Good luck. On Thu, 3 Jul 2003, Quique NoTeLoDigo wrote: > Tengo Oracle en una máquina NT > > Tengo Apache+php en una máquina Linux > > Quiero acceder desde la máquina linux al oracle de NT, pero no tengo CDs ni > nada de Oracle en Linux (para instalar un cliente de oracle en la máquina > Linux) > > ¿Puedo obtener de alguna parte un cliente de oracle para linux? Mirando por > la web de oracle, he visto que no puedes bajarte solo el cliente (lo que > quiero hacer), sino que te puedes bajar TOOODO el Oracle (muchos cientos de > megas) > > Para acceder por ODBC ¿que necesito? ¿tengo que instalar algo en NT? ¿algo > en Linux? ¿algo en ambas partes? > > Necesito ayuda > > Gracias! > > _ > Melodías, logos y mil servicios para tu teléfono en MSN Móviles. > http://www.msn.es/MSNMovil/ > > > -- Ing. Alberto Grájeda Chacón Encargado TeleInformática < e-mail: [EMAIL PROTECTED] > Direc. Tecnología Informática < Sitio web: http://teleinf.upb.edu/ > Universidad Privada Boliviana Cochabamba - Bolivia -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-DB] Post without user hitting submit button
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 post to data.cgi(not php file). How can I send a form2 (user_cod, password2), without user hitting submit button??. or what method can I use?? I will appreciate any help. Thanks all. -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-DB] Oracle + PHP + Linux Red Hat {again}
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 fetch in /var/www/html/ora2.php on line 22 Found: 0 results 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 receive the error above, but if I use the old oracle functions of php, the results are good. Do someone have any idea to resolve my problem?? Thanks in advance. P.D. I probe to set up the User=oracle and Group dba in apache web server, but either, it's not working. The source code: \n"; echo "\n"; echo "Codigo\n"; echo "Nombre\n"; echo "\n"; for ($i = 0; $i < $nrows; $i++ ) { echo "\n"; echo "" . $codaula. ""; echo "" . $nombre. ""; echo "\n"; } echo "\n"; OCIFreeStatement($parsed); OCILogoff($db_conn); ?> -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP-DB] Where can I get an extention to connect to PostgeSQLDB on Unix?
Search internet the module for your architecture. You have the name of the archive and you know the architecture running php. On Fri, 24 Jan 2003, Yurij Nykon wrote: > Where can I get thid module - pgsql.so??? > > > -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP-DB] Where can I get an extention to connect to PostgeSQLDB on Unix?
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. Chau. Alberto. On Thu, 23 Jan 2003, Yurij Nykon wrote: > Hi. > > We have an FreeBSD 4.5 with php4 installed on it. > Now we need to connect from our php-Project to PostgreSQL-7.3.1. > But there is no php-extention installed. In Windows distribution it is > available. > Where can we get this extention for Unix? > > Any help will be appreciated > Thanx in advance > Yurij Nykon > -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-DB] ORA-03106 Error
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 receive anything, but if I use the old oracle functions of php, the results are good. Do someone have any idea to resolve my problem?? Thanks in advance. P.D. I probe to set up the User=oracle and Group dba in apache web server, but either, it's not working. -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php