★ wanayoo — archive 1999 http://www.devshed.com/Server_Side/PHP/Introduction/comments.html/c1122/Nouvelle recherche | Portail wanayoo

Developer Shed
Thursday, 08.17.2000  
Introduction to PHP and web database interfacing with MySQL. PHP3 is an HTML-embedded scripting language allowing web developers to create dynamic, database-driven websites.

HOME > SERVER SIDE > PHP > ARTICLE > COMMENTS    PHP SOURCE

Power Search
Free Newsletter:


Client Side
DHTML
Flash
Graphics
JavaScript
XML

Server Side
Administration
JServ
MySQL
Perl
PHP
Python
Roxen
Zend
Zope

Tools
HTML Editors
Graphic Editors
FTP Programs

Dev Talk
Forums
Mailing List
Book Samples
Brain Dump
Developer News
Feedback

ClipScripts
Add script
Edit script

Other Stuff
DevShed RDF
Propaganda!


Advertise
on DevShed
.
PHP3 Introduction
Introduction to PHP and web database interfacing with MySQL. PHP3 is an HTML-embedded scripting language allowing web developers to create dynamic, database-driven websites.

Name: laurent
Subject: Re: Oralce 8 function!
Date: 08-17-1999 11:13AM

you have to put a valid tns connection with the help of two files:
tnsnames.ora and listener.ora

Both of them are located in your $ORACLE_HOME/network/admin directory.

Edit them in the following way:

listener.ora:

LISTENER=
(ADDRESS_LIST=
(ADDRESS=
(PROTOCOL=tcp)
(HOST=localhost)
(PORT=1521)
)
SID_LIST_LISTENER=
(SID_LIST=
(SID_DESC=
(SID_NAME=your_db_name_goes_here)
(ORACLE_HOME=your_oracle_home)
)
)

and leave the rest of the file the way it is

tnsnames.ora:


your_db_name=
(DESCRIPTION=
(ADDRESS=(PROTOCOL=TCP) (HOST=localhost) (PORT=1521))
(CONNECT_DATA=(SID=your_db_name) (SERVER=DEDICATED))
)



Voila!

That should do it.



Other posts in this thread:
 Top
 • Oralce 8 function!  Michael  08-06-1999 12:15AM 
       • Re: Oralce 8 function!  laurent  08-17-1999 11:13AM 


Reply to this post:
Name:

Preview Comment.
Notify me of replies to this message.
Email:
Subject:
Tip: Put any source code between [code][/code] tags to increase readability


Visit the PHP Forum!

New On DevShed:
• MySQL Developer Contests PostgreSQL Benchmarks
• PHP 101 (part 3) - Chocolate Fudge And Time Machines
• MaxSQL Announced
•  PHP 101 (Part 2) - Shakespeare's Rose
• PHP 101 (Part 1) - Secret Agent Man
• The Search For The Perfect Web Host
• Perl 101 (Part 5) - Sub-Zero Code
•  Submit Your News..

Hot Forum Topics:
• Credit Cards


Adsmart Network ad
Copyright © 1997-2000 ngenuity. All rights reserved. Privacy Policy.