note 95851 added to function.odbc-connect
| From: | e dot khalil at hotmail dot com | Date: | Mon, 25 Jan 2010 21:32:58 +0000 |
| Subject: | note 95851 added to function.odbc-connect | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-165296@lists.php.net to get a copy of this message | ||
Hi everybody!
I wish to know how to make Php & Oracle connection?
I'm using 'ODBC Driver'...
To test connection,i've written this code:
<?php
$dsn = "EST";
$username = "khalil";
$password = ""; //which password ?? (i have no one)
$cnx = odbc_connect($dsn, $username, $password);
if($cnx)
echo "Success";
else
echo "Failure";
?>
----
Server IP: 69.147.83.197
Probable Submitter: 41.248.181.212
----
Manual Page -- http://www.php.net/manual/en/function.odbc-connect.php
Edit -- https://master.php.net/note/edit/95851
Del: integrated -- https://master.php.net/note/delete/95851/integrated
Del: useless -- https://master.php.net/note/delete/95851/useless
Del: bad code -- https://master.php.net/note/delete/95851/bad+code
Del: spam -- https://master.php.net/note/delete/95851/spam
Del: non-english -- https://master.php.net/note/delete/95851/non-english
Del: in docs -- https://master.php.net/note/delete/95851/in+docs
Del: other reasons-- https://master.php.net/note/delete/95851
Reject -- https://master.php.net/note/reject/95851
Search -- https://master.php.net/manage/user-notes.php