Reseller Domain Murah dan termurah di Indonesia? ya di ResellerCamp.
         
 

Forum PHP Indonesia

 
Advanced Search
   
 
Home Register FAQ Memberlist Usergroups  
 
 

Forum PHP Indonesia Forum Index Oracle, MSSQL, Postgre, MS Access koneksi php-oracle
Display posts from previous:   
      All times are GMT + 7 Hours  

koneksi php-oracle

Post new topic  Reply to topic

Mon Mar 16, 2009 11:22
Author Message
esraldi
PHP Programmer
PHP Programmer


Joined: 15 Jun 2008
Posts: 172
Location: yogyakarta

Post subject: koneksi php-oracle Reply with quote

bagaimana ya langkah-langkah untuk mengkoneksikan script php dengan database oracle 10g, apakah perlu tambahan lib lagi ato hanya meng-enablekan orcl.. di php.ini-nya? Helppp!!
_________________
esraldi
 
View user's profile Send private message Send e-mail
      Back To Top  

Sun Apr 12, 2009 06:12
Author Message
fasisi
PHPnewbie
PHPnewbie


Joined: 28 Mar 2009
Posts: 17

Post subject: Reply with quote

hallo,

setahu saya sih, kamu harus meng-enable-kan oracle dalam php.ini juga menyiapkan library-library oracle yang dibutuhkan php.

fasisi
_________________
fasisi
www.pasar-programmer.com - wadah ketemu antara programmer dan calon user
 
View user's profile Send private message Visit poster's website
      Back To Top  

Mon Apr 13, 2009 01:16
Author Message
.
Super Master PHP
Super Master PHP


Joined: 05 Apr 2008
Posts: 2225

Post subject: Reply with quote

pake zend for oracle saja, jangan pake yg lain... gugle...
_________________
#ccdbea
Juliet: "What's in a name? That which we call a rose by any other name would smell as sweet."
Hamlet: "To be, or not to be: that is the question."
- William Shakespeare -
 
View user's profile Send private message
      Back To Top  

Fri Apr 24, 2009 08:05
Author Message
jentix
PHP Programmer
PHP Programmer


Joined: 16 Mar 2008
Posts: 83

Post subject: Reply with quote

Betul mas pake Zendcore for oracle..Aq juga pake koq.
 
View user's profile Send private message Send e-mail Yahoo Messenger
      Back To Top  

Sat Jan 09, 2010 21:23
Author Message
esraldi
PHP Programmer
PHP Programmer


Joined: 15 Jun 2008
Posts: 172
Location: yogyakarta

Post subject: Reply with quote

thanks dah konek.. q pake oracle linuk redhat boy.... n listener pake oracle windows sbg client-nya
_________________
esraldi
 
View user's profile Send private message Send e-mail
      Back To Top  

Sat Jan 09, 2010 21:29
Author Message
esraldi
PHP Programmer
PHP Programmer


Joined: 15 Jun 2008
Posts: 172
Location: yogyakarta

Post subject: Reply with quote

thanks dah konek.. q pake oracle linuk redhat boy.... n listener pake oracle windows sbg client-nya
_________________
esraldi
 
View user's profile Send private message Send e-mail
      Back To Top  

Sat Jan 16, 2010 03:08
Author Message
jun_harefa
Anak Baru
Anak Baru


Joined: 24 Dec 2009
Posts: 3

Post subject: Reply with quote

Mo nanya donk... bagaimana cara bikin report pdf menggunakan php dengan database oracle...
Ada yang punya contoh scriptnya ga???
Kalau ada tolong di share di sini donk....

Thx b4....
 
View user's profile Send private message Yahoo Messenger
      Back To Top  

Sat Jan 16, 2010 18:14
Author Message
hlie
I am PHP
I am PHP


Joined: 10 Apr 2008
Posts: 3050
Location: Singapore

Post subject: Reply with quote

ada lib fpdf di php, tinggal aktifin saja di php.ini dan lihat contoh implementasinya di manual
_________________
Past is Experience,Present is Experiments,Future is Expectations,Use your Experience in your Experiments to achieve your Expectations...!!!
www.slackware.com
 
View user's profile Send private message Send e-mail Yahoo Messenger
      Back To Top  

Fri Jan 29, 2010 08:46
Author Message
anw29701
Anak Baru
Anak Baru


Joined: 27 Jan 2010
Posts: 2
Location: Balikpapan

Post subject: koneksi ke oracle Reply with quote

di php ini sudah di enable oci8 nya, tapi setelah di cek pake phpinfo() kok gak aktif, tolong dong setingannya yg belum dimana?
 
View user's profile Send private message Visit poster's website
      Back To Top  

Tue Mar 22, 2011 08:05
Author Message
mascluring
PHPnewbie
PHPnewbie


Joined: 04 Mar 2011
Posts: 17
Location: Jakarta

Post subject: Reply with quote

jentix wrote:
Betul mas pake Zendcore for oracle..Aq juga pake koq.


mau nanya bang,

apakah zendcore bisa berfungsi seperti xampp/appserv?.

tengs
_________________
ok...
 
View user's profile Send private message Yahoo Messenger
      Back To Top  

Tue Mar 29, 2011 13:33
Author Message
razuel
Anak Baru
Anak Baru


Joined: 29 Mar 2011
Posts: 4

Post subject: Reply with quote

untuk koneksi ke oracle sbenarnya tidak perlu menggunkana zend core, yang penting ada oracle client dan php dengn ext oci aktif


untuk aktifin ext oci, cukup ilangin tanda # di php ini dibagian oci8, setelah itu restart apachenya

kalo ga mau pusing pake oracle client, install aja oracle express edition,kcil ko ga berat, disitu udah ada oracle clientnya.


kalo untuk koneksinya pake perintah berikut

$conn=oci_connect("user","password","TNSNAME");

untuk TNSNAME coba cari tnsname.ora di oracle home, biasanya kalo ngsintall oracle xe ada di folder C:\oraclexe. kalo udah ketemu buka pek notepad.


contohnhya

db_server=(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = 10.234.130.226)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = XE)
)
)



jadi koneksinya begini


$conn=oci_connect("user","password","=(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = 10.234.130.226)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = XE)
)
)");


atau bisa juga khusus untuk di windows

$conn=oci_connect("user","password","db_server")
 
View user's profile Send private message Visit poster's website Yahoo Messenger
      Back To Top  
Post new topic  Reply to topic

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


      Back To Top  

Page 1 of 1
Jump to:  
Powered by phpBB © 2001, 2002 phpBB Group
Toko Kaos Couple | Avalanche style by What Is Real © 2004 | Toko Baju Butik Online | Cara Pedia | Busana Baju Muslim