Jump to content

nhantam

New Members
  • Posts

    1
  • Joined

  • Last visited

    Never

About nhantam

  • Birthday 04/29/1982

Contact Methods

  • Website URL
    http://vn.myblog.yahoo.com/thandongdv2004
  • Yahoo
    thandongdv2004@yahoo.com

Profile Information

  • Gender
    Male
  • Location
    HO Chi Minh City

nhantam's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. $db = "(DESCRIPTION =(ADDRESS_LIST =(ADDRESS = (PROTOCOL = TCP) (HOST = 192.168.1.2)(PORT = 1521))) (CONNECT_DATA =(SERVER = DEDICATED)(SID = orcl)))"; $conn = oci_connect('aaa', 'bbb', $db); $s = oci_parse($conn, 'select * from CLIACCT '); oci_execute($s); while (($row = oci_fetch_array($s, OCI_ASSOC)) != false ) { foreach ($row as $item) { print $item; } } I'am connect other computer our LAN 192.168.1.2 my system IIS(WinXP) & PHP 5.2 error Warning: oci_connect() [function.oci-connect]: OCIEnvNlsCreate() failed. There is something wrong with your system - please check that PATH includes the directory with Oracle Instant Client libraries in C:Inetpubwwwrootoracletest_2.php on line 111 But I am move my code above XAMP apache run OK. I don't understand why PHP & IIS error, could you help me ? How do I to something on PHP & IIS ? Thank you very much.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.