Loading ...
Sorry, an error occurred while loading the content.

Πρόβλημα PHP μΡ Orac le DB

Expand Messages
  • apavlid
    Γεια σας, προσπαθώ να συνδέσω PHP με server της Oracle. έχω Apache 1.3 και PHP 5.1.6 χρησιμοποιόντας το
    Message 1 of 6 , Aug 29, 2006
    • 0 Attachment
      ΓΡια σας,

      Ο€ΟΞΏΟƒΟ€Ξ±ΞΈΟŽ Ξ½Ξ± συνδέσω PHP ΞΌΞ΅ server της Oracle.

      έχω Apache 1.3 ΞΊΞ±ΞΉ PHP 5.1.6

      Ο‡ΟΞ·ΟƒΞΉΞΌΞΏΟ€ΞΏΞΉΟŒΞ½Ο„Ξ±Ο‚ το παρακάτω κώδικα που βρΞ�ΞΊΞ± στο php.net:

      <?php
      $tns = "
      (DESCRIPTION =
      (ADDRESS_LIST =
      (ADDRESS = (PROTOCOL = TCP)(HOST = yourip)(PORT = 1521))
      )
      (CONNECT_DATA =
      (SERVICE_NAME = orcl)
      )
      )
      ";
      $db_username = "youname";
      $db_password = "yourpassword";
      try{
      $conn = new PDO("oci:dbname=".$tns,$db_username,$db_password);
      }catch(PDOException $e){
      echo ($e->getMessage());
      }
      ?>

      παίρνω το ΡξΞ�Ο‚ error:

      SQLSTATE[]: pdo_oci_handle_factory: OCI_INVALID_HANDLE (/Users/liyanage/svn/entropy/
      universalbuild/src/php-5.1.6/ext/pdo_oci/oci_driver.c:463)

      ΞžΞ­ΟΞ΅ΞΉΟ‚ κανΡίς που οφΡίλΡται?

      Ξ•Ο…Ο‡Ξ±ΟΞΉΟƒΟ„ΟŽ,
      Ανέστης
    • xristos korakidis
      try writing in english/greeklish because your comments cannot be read apavlid ������: Γεια σας, προσπαθώ να
      Message 2 of 6 , Aug 31, 2006
      • 0 Attachment
        try writing in english/greeklish because your comments cannot be read

        apavlid <apavlid@...> έγραψε:
        ΓΡια σας,

        Ο€ΟΞΏΟƒΟ€Ξ±ΞΈΟŽ Ξ½Ξ± συνδέσω PHP ΞΌΞ΅ server της Oracle.

        έχω Apache 1.3 ΞΊΞ±ΞΉ PHP 5.1.6

        Ο‡ΟΞ·ΟƒΞΉΞΌΞΏΟ€ΞΏΞΉΟŒΞ½Ο„Ξ±Ο‚ το παρακάτω κώδικα που βρΞ�ΞΊΞ± στο php.net:


        $tns = "
        (DESCRIPTION =
        (ADDRESS_LIST =
        (ADDRESS = (PROTOCOL = TCP)(HOST = yourip)(PORT = 1521))
        )
        (CONNECT_DATA =
        (SERVICE_NAME = orcl)
        )
        )
        ";
        $db_username = "youname";
        $db_password = "yourpassword";
        try{
        $conn = new PDO("oci:dbname=".$tns,$db_username,$db_password);
        }catch(PDOException $e){
        echo ($e->getMessage());
        }
        ?>

        παίρνω το ΡξΞ�Ο‚ error:

        SQLSTATE[]: pdo_oci_handle_factory: OCI_INVALID_HANDLE (/Users/liyanage/svn/entropy/
        universalbuild/src/php-5.1.6/ext/pdo_oci/oci_driver.c:463)

        ΞžΞ­ΟΞ΅ΞΉΟ‚ κανΡίς που οφΡίλΡται?

        Ξ•Ο…Ο‡Ξ±ΟΞΉΟƒΟ„ΟŽ,
        Ανέστης

        --
        Ελληνική PHP mailing list
        Yahoo! Groups Links

        <*> To visit your group on the web, go to:
        http://groups.yahoo.com/group/php_greek/

        <*> To unsubscribe from this group, send an email to:
        php_greek-unsubscribe@yahoogroups.com

        <*> Your use of Yahoo! Groups is subject to:
        http://docs.yahoo.com/info/terms/



        Χρησιμοποιείτε Yahoo!
        Βαρεθήκατε τα ενοχλητικά μηνύ ματα (spam); Το Yahoo! Mail διαθέτει την καλύτερη δυνατή προστασία κατά των ενοχλητικών μηνυμάτων
        http://login.yahoo.com/config/mail?.intl=gr

      • Anestis Pavlidis
        prospathise na allakseis to encoding se unicode (utf-8) to etoimazo en to metaksi se greeklish xristos korakidis wrote:
        Message 3 of 6 , Aug 31, 2006
        • 0 Attachment
          prospathise na allakseis to encoding se unicode (utf-8)

          to etoimazo en to metaksi se greeklish

          xristos korakidis <xkorakidis@...> wrote:
          try writing in english/greeklish because your comments cannot be read

          apavlid <apavlid@yahoo. co.uk> Ýãñáøå:
          Γεια σας,

          προσπαθώ να συνδέσω PHP με server της Oracle.

          έχω Apache 1.3 και PHP 5.1.6

          χρησιμοποιόντας το παρακάτω κώδικα που βρήκα στο php.net:

          $tns = "
          (DESCRIPTION =
          (ADDRESS_LIST =
          (ADDRESS = (PROTOCOL = TCP)(HOST = yourip)(PORT = 1521))
          )
          (CONNECT_DATA =
          (SERVICE_NAME = orcl)
          )
          )
          ";
          $db_username = "youname";
          $db_password = "yourpassword" ;
          try{
          $conn = new PDO("oci:dbname= ".$tns,$db_ username, $db_password) ;
          }catch(PDOException $e){
          echo ($e->getMessage() );
          }
          ?>

          παίρνω το εξής error:

          SQLSTATE[]: pdo_oci_handle_ factory: OCI_INVALID_ HANDLE (/Users/liyanage/ svn/entropy/
          universalbuild/ src/php-5. 1.6/ext/pdo_ oci/oci_driver. c:463)

          Ξέρεις κανείς που οφείλεται?

          Ευχαριστώ,
          Ανέστης

          --
          ÅëëçíéêÞ PHP mailing list
          Yahoo! Groups Links

          <*> To visit your group on the web, go to:
          http://groups. yahoo.com/ group/php_ greek/

          <*> To unsubscribe from this group, send an email to:
          php_greek-unsubscri be@yahoogroups. com

          <*> Your use of Yahoo! Groups is subject to:
          http://docs. yahoo.com/ info/terms/



          ×ñçóéìïðïéåßôå Yahoo!
          ÂáñåèÞêáôå ôá åíï÷ëçôéêÜ ìçíý ìáôá (spam); Ôï Yahoo! Mail äéáèÝôåé ôçí êáëýôåñç äõíáôÞ ðñïóôáóßá êáôÜ ôùí åíï÷ëçôéêþí ìçíõìÜôùí
          http://login. yahoo.com/ config/mail? .intl=gr


          All New Yahoo! Mail – Tired of Vi@gr@! come-ons? Let our SpamGuard protect you.

        • anna markopoulos
          HI! CAN YOU RIGHT IN ENGLISH I AM GREEK BUT DONT READ IT THANK YOU ANNA xristos korakidis wrote: try writing in
          Message 4 of 6 , Sep 5, 2006
          • 0 Attachment
            HI! CAN YOU RIGHT IN ENGLISH I AM GREEK BUT DONT READ IT  THANK YOU ANNA

            xristos korakidis <xkorakidis@...> wrote:
            try writing in english/greeklish because your comments cannot be read

            apavlid <apavlid@yahoo. co.uk> Ýãñáøå:
            Γεια σας,

            προσπαθώ να συνδέσω PHP με server της Oracle.

            έχω Apache 1.3 και PHP 5.1.6

            χρησιμοποιόντας το παρακάτω κώδικα που βρήκα στο php.net:

            $tns = "
            (DESCRIPTION =
            (ADDRESS_LIST =
            (ADDRESS = (PROTOCOL = TCP)(HOST = yourip)(PORT = 1521))
            )
            (CONNECT_DATA =
            (SERVICE_NAME = orcl)
            )
            )
            ";
            $db_username = "youname";
            $db_password = "yourpassword" ;
            try{
            $conn = new PDO("oci:dbname= ".$tns,$db_ username, $db_password) ;
            }catch(PDOException $e){
            echo ($e->getMessage() );
            }
            ?>

            παίρνω το εξής error:

            SQLSTATE[]: pdo_oci_handle_ factory: OCI_INVALID_ HANDLE (/Users/liyanage/ svn/entropy/
            universalbuild/ src/php-5. 1.6/ext/pdo_ oci/oci_driver. c:463)

            Ξέρεις κανείς που οφείλεται?

            Ευχαριστώ,
            Ανέστης

            --
            ÅëëçíéêÞ PHP mailing list
            Yahoo! Groups Links

            <*> To visit your group on the web, go to:
            http://groups. yahoo.com/ group/php_ greek/

            <*> To unsubscribe from this group, send an email to:
            php_greek-unsubscri be@yahoogroups. com

            <*> Your use of Yahoo! Groups is subject to:
            http://docs. yahoo.com/ info/terms/



            ×ñçóéìïðïéåßôå Yahoo!
            ÂáñåèÞêáôå ôá åíï÷ëçôéêÜ ìçíý ìáôá (spam); Ôï Yahoo! Mail äéáèÝôåé ôçí êáëýôåñç äõíáôÞ ðñïóôáóßá êáôÜ ôùí åíï÷ëçôéêþí ìçíõìÜôùí
            http://login. yahoo.com/ config/mail? .intl=gr


            Get your own web address for just $1.99/1st yr. We'll help. Yahoo! Small Business.

          • Anestis Pavlidis
            prospa8ise na allakseis to encoding se unicode utf-8 ... universalbuild/src/php-5.1.6/ext/pdo_oci/oci_driver.c:463) ...
            Message 5 of 6 , Sep 5, 2006
            • 0 Attachment
              prospa8ise na allakseis to encoding se unicode utf-8



              --- anna markopoulos <yaya1951us@...> wrote:

              > HI! CAN YOU RIGHT IN ENGLISH I AM GREEK BUT DONT
              > READ IT THANK YOU ANNA
              >
              > xristos korakidis <xkorakidis@...> wrote:
              > try writing in english/greeklish because your
              > comments cannot be read
              >
              > apavlid <apavlid@...> Ýãñáøå: Γεια
              > σας,
              >
              > πÏ?οσπαθώ να συνδέσω PHP με
              > server της Oracle.
              >
              > έχω Apache 1.3 και PHP 5.1.6
              >
              > χÏ?ησιμοποιόντας το παÏ?ακάτω
              > κώδικα που βÏ?ήκα στο php.net:
              >
              > $tns = "
              > (DESCRIPTION =
              > (ADDRESS_LIST =
              > (ADDRESS = (PROTOCOL = TCP)(HOST = yourip)(PORT =
              > 1521))
              > )
              > (CONNECT_DATA =
              > (SERVICE_NAME = orcl)
              > )
              > )
              > ";
              > $db_username = "youname";
              > $db_password = "yourpassword";
              > try{
              > $conn = new
              > PDO("oci:dbname=".$tns,$db_username,$db_password);
              > }catch(PDOException $e){
              > echo ($e->getMessage());
              > }
              > ?>
              >
              > παίÏ?νω το εξής error:
              >
              > SQLSTATE[]: pdo_oci_handle_factory:
              > OCI_INVALID_HANDLE (/Users/liyanage/svn/entropy/
              >
              universalbuild/src/php-5.1.6/ext/pdo_oci/oci_driver.c:463)
              >
              > ΞέÏ?εις κανείς που
              > οφείλεται?
              >
              > ΕυχαÏ?ιστώ,
              > Ανέστης
              >
              > --
              > ÅëëçíéêÞ PHP mailing list
              > Yahoo! Groups Links
              >
              >
              >
              >
              >
              >
              > ---------------------------------
              > ×ñçóéìïðïéåßôå Yahoo!
              > ÂáñåèÞêáôå ôá åíï÷ëçôéêÜ ìçíý ìáôá (spam); Ôï Yahoo!
              > Mail äéáèÝôåé ôçí êáëýôåñç äõíáôÞ ðñïóôáóßá êáôÜ ôùí
              > åíï÷ëçôéêþí ìçíõìÜôùí
              > http://login.yahoo.com/config/mail?.intl=gr
              >
              >
              >
              >
              > ---------------------------------
              > Get your own web address for just $1.99/1st yr.
              > We'll help. Yahoo! Small Business.




              ___________________________________________________________
              All New Yahoo! Mail – Tired of Vi@gr@! come-ons? Let our SpamGuard protect you. http://uk.docs.yahoo.com/nowyoucan.html
            • test24m
              hello test24m is here
              Message 6 of 6 , Sep 7, 2006
              • 0 Attachment
                hello test24m is here
              Your message has been successfully submitted and would be delivered to recipients shortly.