Jul 26, 2008

Connecting Php With Oracle Database

Free Web Hosting, No Ads > CONTRIBUTE > Computers > Database

free web hosting

Connecting Php With Oracle Database

dotasif
i need to connect oracle with php ..now me using oracle 10g can any one give me the solution

thanks.

Reply

adiaz01
QUOTE(dotasif @ Mar 24 2007, 03:13 PM) *
i need to connect oracle with php ..now me using oracle 10g can any one give me the solution

thanks.



First question, Are you using PHP over Windows or Linux?

if your answer is Windows, the best and easy way will be ODBC, but you reach the basic point if you can communicate with ODBC. now the drivers are propietary from Oracle so you need to install the comminication package first in order to enable ODBC, you can try by open Excell and make a Data>Get External Data>New Database Query and follow the wizard. Now if you can do this and you still can't connect using PHP the next question is Did you compile PHP including the Oracle Parameter? if not Voila that is the solution. you need to go back an recompile PHP including the Oracle driver for PHP .

if your answer was Linux you need to get the drivers from Oracle to connect linux or the Client software from Oracle for Linux, and the recompile the PHP in order to get the connection with Oracle.

There is a very good help on PHP.net about recompile and select the options you need to do this.

Good Luck.

 

 

 


Reply



Got an Opinion! Express your Views! (no registration):-
Add your Reply/ Opinion/ Views/ Comments/ Suggestion/ Questions/ Queries etc.
Posts with decent grammar & English will be accepted and please refrain from profanities.
For asking a Question, We recommend you to sign-up (for free) so that you can track the topic easily.

Nature of your Post*: Opinion/ Reply/ Comments
Question/Query
Feedback to us.
       
Name   Email
Title/Question*

(Maximum characters: 10,000)
You have characters left.
Confirm Code:

Recent Queries:-
  1. windows php connect oracle databases - 55.86 hr back. (1)
  2. code for connecting oracle 9i in joomla - 58.63 hr back. (1)
  3. php connect oracle 10g - 116.55 hr back. (1)
  4. php oracle - 177.95 hr back. (1)
Similar Topics

Keywords : connecting, php, oracle, database

  1. Need Help With My Database [resolved]
    retrive data as a link (6)
  2. Is The Database System Gone Again? [resolved]
    Errors on PHPMyAdmin again (12)
    I wonder if there is a problem with the PHPMyAdmin system again? When trying to get into it, I once
    again get the following: QUOTE Warning: session_write_close() : SQLite: session write query
    failed: database is full in /usr/local/cpanel/base/3rdparty/phpMyAdmin/index.php on line 42
    Warning: session_write_close() : Failed to write session data (sqlite). Please verify that the
    current setting of session.save_path is correct
    (/var/cpanel/userhomes/cpanelphpmyadmin/sessions/phpsess.sdb) in
    /usr/local/cpanel/base/3rdparty/phpMyAdmin/index.php on line 42 Warning: Ca....
  3. Database Or Pdf
    Best way to list books on my site (1)
    Hi all, I am not sure if this is the right place to post but I'm sure you'll tell
    me if it's not. My problem is this: I have a website where I sell books and it's one of
    those simpleton sites where I don't need to know code, I just click icons etc Anyway, I can
    upload images to the server and need to have them in different resolutions and link from a thumbnail
    to the larger picture. What I am trying to say is I have about 6000 books to display on my
    website which is impractical as it takes me about 10 mins to load 1 copy. What is the ....
  4. Phpmyadmin
    Create new database: No Privileges (6)
    i can not make a sql for diff srcipt, but the sricpt i have is php, DJ-cpanel.. all tho i can not
    install it the error is like this Creating Database Tables No database selected there a mysql
    database is made, but i can not use it for othere stuff... plz note that this is Free script and not
    for paid.. is there a way that the myqsul can not use sql other scripts? or it maybe not working...
    but i am not sure if the script not working or it can be the server may be down on mysql...? ....
  5. How To Manage The Database For E-books Website In My Sql?
    (3)
    I wanna know how to manage the database for website of e-books with forum in it, n the database is
    in mysql. PLZ HELP ME!....
  6. I Need Help Transferring Sql Database?
    (3)
    ok so i am trying to transfer mediawiki's but i am having trouble with exporting importing the
    database. I am using phpmyadmin on both sides of the hosts. When i do the import i get this.
    QUOTE SQL query: -- -- Database: `apolopedia` -- CREATE DATABASE `apolopedia`
    DEFAULT CHARACTER SET latin1 COLLATE latin1_swedish_ci; MySQL said: Documentation #1044 - Access
    denied for user 'jaenagle'@'localhost' to database 'apolopedia' I tried to
    give my user all rights, but it gave me this also. QUOTE SQL query: GRANT A....
  7. Connecting Two Computers With A Crossover Cable
    Got the basics, anything I'm missing? (7)
    I was going to connect two computers together with a crossover cable to share files, and maybe even
    play a few multiplayer games over it. In my understanding I need a cat5 crossover cable, correct me
    if I'm wrong here. Both computers need to have a network card. After I hook up the computers I
    need to set each computers IP. (I'm not to sure on how to do that) Then I need to make sure the
    computers can "talk" to each other. From what I've read that's all I need to do. Anything
    I'm missing? If someone could explain the part about setting the computers I....
  8. Oracle Clinical
    Bio IT Coming for life science students (0)
    hello life science students, Bio IT going to rock ! it will give jobs equal to IT professionals
    for life science students. the major advantage of this, advanced developments in drug designing and
    it will help scientist to do quick research,it is going to be solution for many things. the basics
    are oracle database management plus with clinical research results or clinical trial results it
    holds the adverse information , positive informations and other required informations. ....
  9. Ms-access Database Question
    Allowing Web Access to the Informaton (3)
    Hi. I wanna know if there is a way of accessing an MS-Access database so that my site can extract
    data from it and make it avilable online. I have an accounting package that saves everthing in an
    MDB file and I want that info available for my clients from whereever thay are. Split Topic ....
  10. Index In A Mysql Database
    Make the numbers follow (3)
    I hope I am on topic here (It does have to do with web design, after all). I have noticed that in a
    MySQL database, the 'id' field just keeps its numbers for every record, with the backdraw
    that, whenever you remove (a) record(s) from the table, you get your list numbered as eg.
    1,5,6,7,12,25 etc. This makes it a bit difficult of keeping track of the number of records in your
    table. Is there a way of achieving (either in PHPMyAdmin or through the use of PHP) that the id
    field in your table gets sort of 'refreshed and updated' so you have a clearer view....
  11. Transferring From Old Server To New Server "database And Forum" [resolved]
    I'm in need of aid from admin in transferring phpbb database and f (5)
    Ok, I have a question and would preferable ask if its possible as well. Currently I have a phpbb
    forum (version 2) placed among another server. Thing is I would like to import it among my trap17
    account, as this is the place I intend to stay as its so great. Problem is I have about 40+ users
    already registered among that forum and have several mods implemented within it as example Cash Mod,
    Jobs Mod, Rank Banners etc and fiblack template. I have tried using a few guides in trying to copy
    my database over here but to no avail it is rendered useless. So in short is there a....
  12. Connecting To Windows Xp Printer Via Leopard
    Please provide me a step by step guide (3)
    Here is my situation: I have a HP printer installed on Windows XP but I am primarily using Leopard
    for my daily work. It irks me having to always send the files I want to print from my Mac to my PC.
    It is becoming a chore and I want to ease the process. My host computer is my Mac, and my PC
    connects to the internet via my Linksys router. The printer is installed and connected on my PC. I
    want to make it a situation whereby when I want to print a document on my Mac, the print job would
    go to my PC instead and it will end up printing from there. Can anyone lend me a ha....
  13. What Value Would I Use To Insert This Data?
    Help on insertion of data to database? (4)
    I am learning slowly but surely and I know some of you probably getting tired of my questions. ^^;;
    However, I believe one can not learn without asking questions. So.. if I get too bothersome.. just
    point me to some books or something. lol XD // Make a MySQL Connection mysql_connect("localhost",
    "name", "password") or die(mysql_error()); mysql_select_db("at2927_abq") or die(mysql_error()); //
    Insert a row of information into the table "example" mysql_query("INSERT INTO members (pasture)
    VALUES('Timmy Mellowman', '23' ) ") or die(mysql_error()); ....
  14. How Do I Connect To Live Database With Php Script?
    while being hosted with ComputingHost (6)
    I am not new to programming. I want to create a form to add some values into my tables, the code
    are all working. But I am not sure what is the URL to connect to my site's database. All along,
    I have been testing through MAMP, which provides a local copy of mySQL. Can anyone lend me a hand?
    My site's URL is http://limetouch.com/ ....
  15. Database With Mysql++
    getting mySQL++ to work with trap17 (7)
    Hi, I'm trying to build an online game and figured the easiest way to do the server list would
    be to make a mySQL database for it; however, I use the con() command on the IP i get from pinging my
    website and I always get an abnormal program termination; however, it will work with the mySQL on my
    own machine. The code is below: CODE #include <iostream> #include <iomanip>
    #include <mysql++> #include "pass.h"//holds my password (i program at
    school) int main(void) {     Connection con("t3jem3_test","....
  16. Connecting Pc To Linksys Router
    Can't do it... (5)
    Ok, I have PC1 connected to my router just fine (though wired because wireless card is faulty) I am
    trying to connect PC2 to internet so i can DL some updates and what not. Only thing is... it's
    not working. I pull the Ethernet cable from PC1 and insert into PC2 and a little bubble in the
    bottom right-hand corner comes up that says "Local Area Connection Connected.... 100Mbps" I open my
    browser (both I.E. and firefox) and both act as if there was no connection at all. IPconfig....
    fine Ping IP.... fine. What is the deal? PC2 WAS originally connected to another....
  17. Best Free Online Game Database
    (1)
    I find this to be an excellent site for free games of all types. It is where I find all my games
    /tongue.gif" style="vertical-align:middle" emoid=":P" border="0" alt="tongue.gif" />
    http://play-free-online-games.com/games/games_all.html Recommended: Blockland....
  18. Connecting To The Internet On Ubuntu
    (8)
    Hey friends. When i had installed UBUNTU, i could not get connected to the net . I have a DHCP net
    connection, my net was also on. Could you suggest me what should i have done to get my net
    connected? I'm not criticising Ubuntu, Ubuntu rocks, but i had a problem connecting to the net.
    Suggestions Required !!....
  19. Php With Simple Csv List As Database, What Do U Think?
    (2)
    I've designed a php website and i used simple CSV file as my database because of few reasons
    my client had to pay more to active MySQL database was a simple product list it was easy to
    convert product list from existing Excel file to CSV it is easy to make any changes so i have few
    files to convert to CSV if i wanna update the website. I know it's less secure specially if
    it's an online business (which is not). question is : what are disadvantages? is that slower
    than MySQL? is there more possibility of occurring bug? is that less professional? or ......
  20. Forum Database
    Forum Database Space and its capacity to hold content (9)
    Okay, I have a forum which is growing daily. Even though members aren't that many, I'm still
    concerned over my database space and its capacity to hold the forum's content. Since post counts
    take up database space, the remaining space will decrease daily, albeit by little amounts. Still, it
    will decrease anyway and eventually my database for that forum will run out of space. My question
    is: 1. Is there any way to possibly create a new database to continue holding the old
    database's increasing data? As in, my old database is there but its full and I creat....
  21. Mysql Database Space
    (3)
    How much space does Trap17 offer for MySQL database in terms of MB? I need to know because I intend
    to host a forum for my classmates and it will be a gathering place for us. We are all ex students of
    a school so the forum will be a handy hangout place to get info and status about each other, since
    we're all seperated now. So, the forum takes up 150KB in my database and its increasing daily
    due to increasing number of posts and members. The day will come when it hits the 12 MB database
    space my current free host offers. So, any input or help is very much appreciate....
  22. Treating .csv Files As Database Data
    Showing .CSV data on a web page (2)
    I use a nice program (which I helped to beta test) called ' Simfatic Forms ' to generate
    forms on web pages. The only problem is that it does not (yet) support MySQL databases, it saves the
    form data as a .CSV file. Now I was wondering if you can do the same with a .CSV file as you do
    with a MySQL databse, ie. displaying the data in that file on a web page which adjusts automatically
    as data are added to the file. To clarify: eg. if I make a form to sign a petition online, the data
    are saved to a .CSV file every time someone fills in the form, is it now possibl....
  23. Vb Select Mysql Database
    (2)
    I am trying to make a script to pull mysql data into a vb application. This will connect to windows
    media player so that people can select a song through my website, and windows media player would
    play it through vb automatically. Can anybody help me?....
  24. Truefusion Shoutbox
    No Database required! (31)
    After several tests, i think it's good enough to be released. Please report any problems in
    this topic. About the shoutbox: QUOTE It's supports many bbcodes that we're all used
    to. Over 60 smileys. No database required for shout storage: All stored on flatfile. XHTML valid.
    Installation is basically extract files, and chmod the files "shouts.log", "ipban.log",
    "wordfilter.log" 666. Compatible with standard-compliant browsers, and Internet Explorer. Admin
    Cpanel: Edit/delete shouts, IP ban/unban, Word Filter. Users can delete/edit their shouts within a....
  25. Connecting 2 Pc's
    Help if this is possible (10)
    I have a Notebook PC And a Desktop PC. I want to connect them both because my home computer has more
    memory then my laptop. I was wondering if there is any software that will connect 2 PC's with
    out buying anymore gear. I have a Eathernet cord and both my laptop and desktop have eathernet
    cards in them. They are both running windows XP. (my home computer has professional and my laptop
    has home edition). If anyone know anything about connecting two computers together with out a hub
    then please message this back. And if anyone also knows this i have wireless inte....
  26. Can You Add Images Into A Mysql Database?
    Using Php? (20)
    I'm learning php in class right now, but I'm still not that good at it, what I'm
    wondering is when I write the php so that it can connect with a database, can I at the same time
    have it that it is able to display back images that I choose. Like, I want a search feature, where
    you can search for a keyword, and it will bring back a list of all the possible entries with that
    keyword, but each of these entries will have a photo associated with it. Now, do I put these image
    files directly into the database, or do I write the code to link them from my files to th....
  27. Connect To Remote Oracle Database With Toad
    i'm lost (6)
    Hey gang, long time no see, my bad! Anyway, I got me a question. Does anybody know how to
    connect to a remote oracle database using toad? When I read the docs for toad I get the impression
    that I have to have a local oracle installation in order to use toad, but that just seems silly. I
    guess I'm stuck at the point of trying to figure out how to tell toad where to look for all of
    the configuration information it needs for the connection if I don't have any "Oracle Home"
    directories. :crosses fingers: Peace!....
  28. Connecting A Ps2 To A Laptop Laptop.
    How to do it? (5)
    I'm not sure if this is the right place for it but I want to know if it's possible to
    connect my Playstation 2 to my laptop through the s-video output port so that it displays on the
    laptop screen. Surely there must be a program out there that can do it. Thanks for the help.....
  29. Mysql Database Size
    related to the free database space (6)
    hi all! this is my first post /biggrin.gif' border='0' style='vertical-align:middle'
    alt='biggrin.gif' /> and i have a doubt, how much mysql space i am allowed to use... i mean how
    much is available for my free account....
  30. Import From Excel File Into Mysql Database
    (7)
    Has anyone tried using the excel import function that comes with phpmyadmin
    http://www.phpmyadmin.net/home_page/ - it does not require any additional plug-ins or scripts and
    is fairly straightforward to use. In phpmyadmin, if you click on the database table which you wish
    to import the data to , there is a link on the bottom left corner which says "insert data from a
    text file into the table" - although it says text file it still can be used to import an excel file.
    When you click on this link you will be taken to a page where you will be asked for the file name
    (the....

    1. Looking for connecting, php, oracle, database

Searching Video's for connecting, php, oracle, database
Similar
Need Help
With My
Database
[resolved] -
retrive data
as a link
Is The
Database
System Gone
Again?
[resolved] -
Errors on
PHPMyAdmin
again
Database Or
Pdf - Best
way to list
books on my
site
Phpmyadmin -
Create new
database: No
Privileges
How To
Manage The
Database For
E-books
Website In
My Sql?
I Need Help
Transferring
Sql
Database?
Connecting
Two
Computers
With A
Crossover
Cable - Got
the basics,
anything
I'm
missing?
Oracle
Clinical -
Bio IT
Coming for
life science
students
Ms-access
Database
Question -
Allowing Web
Access to
the
Informaton
Index In A
Mysql
Database -
Make the
numbers
follow
Transferring
From Old
Server To
New Server
"databa
se And
Forum"
[resolved] -
I'm in
need of aid
from admin
in
transferring
phpbb
database and
f
Connecting
To Windows
Xp Printer
Via Leopard
- Please
provide me a
step by step
guide
What Value
Would I Use
To Insert
This Data? -
Help on
insertion of
data to
database?
How Do I
Connect To
Live
Database
With Php
Script? -
while being
hosted with
ComputingHos
t
Database
With Mysql++
- getting
mySQL++ to
work with
trap17
Connecting
Pc To
Linksys
Router -
Can't do
it...
Best Free
Online Game
Database
Connecting
To The
Internet On
Ubuntu
Php With
Simple Csv
List As
Database,
What Do U
Think?
Forum
Database -
Forum
Database
Space and
its capacity
to hold
content
Mysql
Database
Space
Treating
.csv Files
As Database
Data -
Showing .CSV
data on a
web page
Vb Select
Mysql
Database
Truefusion
Shoutbox -
No Database
required!
;
Connecting 2
Pc's -
Help if this
is possible
Can You Add
Images Into
A Mysql
Database? -
Using Php?
Connect To
Remote
Oracle
Database
With Toad -
i'm lost
Connecting A
Ps2 To A
Laptop
Laptop. -
How to do
it?
Mysql
Database
Size -
related to
the free
database
space
Import From
Excel File
Into Mysql
Database
advertisement



Connecting Php With Oracle Database



 

 

 

 

ADD REPLY / Got an Opinion! Remove these ADs! RAPID SEARCH! Free Web Hosting [X]
Express your Opinions, Thoughts or Contribute more info. to help others.
Ask your Doubts & Queries to get answers, So that "Together We can help others!"
Register FREE for AD-FREE forum, Create your own topics, Ask Questions, track topics, setup subscriptions & notifications and Get a Free Website w/ Email and FTP.
500MB Space *No Ads*, CPanel, FTP, PHP, MySQL, EMails - 100% FREE