PHP used with Oracle

Questions about the MySQL, PostgreSQL, and most other databases, as well as using it with PHP can be asked here.

Moderator: General Moderators

Post Reply
bogdan
Forum Commoner
Posts: 27
Joined: Wed May 31, 2006 10:07 am
Location: Timisoara, Ro

PHP used with Oracle

Post by bogdan »

Hi,
I've been looking over the web and found out that I can use PHP with Oracle with the aid of two modules, oci and ora (oracle).
Now I do not need this all the time, I only need it for 1 unique, single time project , something like that and do not want to put in the modules. (I have 2 classes that work with MySql allready made that have everythin I need and if this works my work is very small and little timeconsuming which would be great)

Is there a way for me to use PHP with Oracle in a similar way to how I use PHP with MySql ?

e.g.

Code: Select all

mysql_connect($host,$user,$pass)
If you know about this and I made any sense please help me out with a very noobfriendly explanation.

Many many thanks,
Bogdan
derchris
Forum Commoner
Posts: 44
Joined: Sat Jun 10, 2006 6:14 pm

Post by derchris »

You have to use either OCI or ORA.
There is no other way, at least I'm not aware off.
Post Reply