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

Re: ÈÝìá: [php_greek] Πρόβλημα PHP με Oracle DB

Expand Messages
  • 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 1 of 6 , Sep 5 8:49 AM
    • 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 2 of 6 , Sep 5 5:02 PM
      • 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 3 of 6 , Sep 7 1:47 AM
        • 0 Attachment
          hello test24m is here
        Your message has been successfully submitted and would be delivered to recipients shortly.