PHP has to be compiled with the oci8 extension. If you use the win32 binaries of PHP, just uncomment the line extension=php_oci8.dll in php.ini. If your webserver and Oracle are on the same machine, that's all. In the other case you have to install the oracle 8 client onto the machine containing your webserver. This oracle 8 client is set up with the "Oracle Installer".
To create databases, you can use the oracle tools (oracle navigator, server manager, ...). To access them from PHP, you would see http://www.thickbook.com/extra/php_oracle.phtml for a simple tutorial. The php function to log to oracle is OCILogon. Note that in my case, I've trouble using OCILogon with its third argument, for example '@mydb'. I have to use the complete syntax you found in the oracle file tnsnames.ora. Hope you won't have this problem. Otherwise, search Googles for a lot of threads about it. One more thing. If you hear about oralogon function and friends, they refer to the "oracle extension" of PHP. In your case, you should use the latest one, i.e. oci8 extension (php_oci8.dll). Oracle extension (php_oracle.dll) was used for Oracle 7 databases. Hope it will help you ! Best regards, Philippe "Todd Williamsen" <[EMAIL PROTECTED]> a écrit dans le message news: [EMAIL PROTECTED] > I would like to try Oracle as a backend. I do have a copy of Oracle 8 > server, Oracle Application Server, Oracle Internet Commerce Server. > > I am running Windows 2000 server, so all these will and should run on Win2k. > > I never used Oracle, so I would like to know: > > 1. What is the procedure of logging into the DB > > 2. creating databases > > 3. Default username and password > > I don't necessarily need the info off the bat, but more like where to look > for this information > > I looked all over Oracle's website and I tell you its crap, just like > Microsoft's search engine...sucks! > > Anyways, any help would be much appreciated! > > Thanks! > > > -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php