Hi!

did you compile php with oci or ora functions?

this is a really good tutorial...

http://www.devshed.com/Server_Side/PHP/SoothinglySeamless/page1.html

here are the commands I use .. you need to adjust for versions...

php config
./configure --with-apache=../apache_1.3.19 --with-oracle=/opt/oracle/product/8.1.6/ 
--with-oci8=/opt/oracle/product/8.1.6/ --enable-sigchild --enable-track-vars

apache config --- remove the php3/php4 respectively....
./configure --prefix=/usr/local/apache --with-layout=GNU --enable-shared=max 
--enable-module=most --activate-module=src/modules/php4/libphp4.a --enable-module=php4

Jimmy Brake

On Tue, 19 Jun 2001, Martin Langlois wrote:

> I want to make a query from a oracle database with php. That's what I do:
> 
> $link=Ora_Logon("user","1234");
> $query = "select * from sales";
> $cursor = ora_do($link,$query);
> while(ora_fetch($cursor))
> {   
> print "$cursor";
> }
> 
> I have an arror, it's doesn't recongnize ora_logon() function.
> 
> Do i have to include something special?
> 
> 
> 
> 
> -- 
> Martin Langlois
> Programmeur-analyste
> Inter.net Canada
> 5252, boul. de Maisonneuve Ouest
> bureau 200
> Montréal,Qc
> H4A 3S5
> 
> http://www.ca.inter.net
> 


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

Reply via email to