Home » Archives » October 2009
PHP and Oracle
October 24, 2009 PHP and Oracle
- server side language and database management
First and foremost..
I just want to share this…
which I actually used …
Assuming we’ve already installed the Oracle in our OS..
1. Download this
http://www.4shared.com/file/141829442/8753236e/appserv-win32-244a.html
2. Edit the php.ini and then uncomment the ff:
extension=php_oci8.dll
extension=php_oracle.dll
and by this one..we can already connect..
<span style=”font-weight:bold;”>Connecting PHP and Oracle</span>
<?php
global $conn;
$user = “username”;
$password = “password”;
$db=”database”;
$conn = oci_connect($user, $password, $db);
if (!$conn) {
$err = oci_error();
echo htmlentities($err[’message’]);
exit;
}
?>
So that’s it..
Welcome to i.PH Blogs! Huzzah!
October 23, 2009Thank you for choosing i.PH. You’ve made an awesome choice.
Don’t be scared to play around with your site, you’ll see how we make blogging easy.
If you need help, you can just go to:
- i.PH Forum - Meet other i.PH Blog users, the people who run i.PH Blogs. You can post questions, or you can just make friends
- FAQs - All the i.PH tutorials you need. Ever.
- Livehelp - Confused? We’re here to help you.
To delete this, just look for and click the “Delete Post” button at the upper right side of this entry.
To start blogging, just click on the “New Post” button, and you’re all set!




