Oracle 10-XE, PHP & Zend...

Hya,
My name is Bogdan Laurentiu, and i am final year at university.
I have to make a project and my choice was a Web page, made in PHP for a delivery company like DHL for eg.
My question is should i use Zend as well ? If yes why..
What is Zend especialy for?...
Thx, and have a great day.

[email protected] wrote:
My question is should i use Zend as well ? If yes why..If you want to pay for a licence then is Zend your option ... it's not free like XE ...
[email protected] wrote:
What is Zend especialy for?...It's a integrated development environment (IDE) for PHP applications.
More about Oracle and PHP including Zend you can find in Wiki:
http://wiki.oracle.com/page/PHP+Oracle+FAQ
Cheers!

Similar Messages

  • Extending Oracle AS suppled PHP

    Hi,
    I just installed iAS 10.1.2.0.2. This includes a prconfigured version of PHP.
    The phpinfo file shows me the following:
    PHP Version 4.3.9
    System      Linux stadk01 2.4.21-37.ELsmp #1 SMP Wed Sep 7 13:28:55 EDT 2005 i686
    Build Date      Aug 5 2005 21:49:57
    Configure Command      './configure' '--with-apxs2=/home/kmurthy/ap2/bin/apxs' '--with-oci8=/ade/kmurthy_ap1012/oracle' '--disable-rpath' '--prefix=/home/kmurthy/php2.0' '--enable-experimental-zts' '--with-tsrm-pthreads'
    Server API      Apache
    Virtual Directory Support      disabled
    Configuration File (php.ini) Path      /local/oracle/ApacheHome/Apache/Apache/conf/php.ini
    PHP API      20020918
    PHP Extension      20020429
    Zend Extension      20021010
    Debug Build      no
    Thread Safety      disabled
    Registered PHP Streams      php, http, ftp
    Zend logo This program makes use of the Zend Scripting Language Engine:
    Zend Engine v1.3.0, Copyright (c) 1998-2004 Zend Technologies
    There is no configure file in any of the php directories.
    Do I need to forego this one and download and configure a new php ? How else would I be able to add extensions ?
    Mike
    -------

    Unfortunately the default PHP that ships with Oracle OHS at this time is unextendable. It's binaries only.
    I needed to follow the instructions in http://www.oracle.com/technology/php in order to get things to work
    Including installing the instant client.
    Mike
    -------

  • How to access Oracle DB from PHP on 10.5 server?

    I am writing a PHP-based application that needs to pull data from an Oracle database... the app is hosted on a G5 server running 10.5.3.
    Has anyone had any success building Oracle support into PHP on Leopard? Does anyone happen to know of a good howto to follow?
    Any and all help is greatly appreciated.
    Thanks,
    ~s

    Hi swati,
    1. for this u will also require help of basis team.
    2. these are the steps.
    a) make an entry in DBCON
    b) make connection string
    (on the physical application server,
    so that it can connect to secondary database)
    (this will be done by basis team,
    in which, they will specify the
    IP address of the secondary database server,
    the DATABASE ID, and the port number)
    c) then using open sql / native sql,
    we can use the secondary database connection,
    just like normal.
    d) if we use open sql,
    then there must be Y/Z table on
    sap as well as secondary database,
    and the field names , their type all should be identical.
    regards,
    amit m.

  • Oracle support under PHP / 8i or 9 and a RedHat 9 / Apache 1.3.X machine

    Hi,
    I have a server (currently 7.1) with apache + php
    compiled with oracle (and mcrypt, imap, gettext) support.
    In order to do so I've installed the 8i linux
    version, make a tar.gz of the libs directory and
    installed in my server.
    I runs fine accessing a remote (not mantained by me)
    oracle database.
    I am planning to switch to a newer distribution and
    was considering the RH9 but with the "old" 1.3.x apache.
    Since I do not actually use Oracle (just enable php
    scripts to do so) I am kind of lost if the combo (old
    8i libs with redhat 9) are stable enough or should I
    try a newer version, such as oracle 9.
    And in that case if is there a "developers" package/installation that enables me just to install the required libs/headers without having to actually install the whole db.
    Since the answer can be slighty OT fell free to send
    me directly.
    Thanks.

    I'm in a similar situation where i'm migrating from Win2k + PHP & want oracle support to connect to a remote server.
    I got as far as installing redhat 9 & installing the oracle client.
    I still can't get oracle to work in PHP though. doing a bit of research I dont think the redhat 9 RPM's come with oracle support compiled. I really dont want to be maintaining custom compiled php versions i'd rather just have up2date do it all. I hear you can get ODBC to work with oracle, but most of the stuff i've looked at covers doing this on windows, not linux.
    If anyone out there has manager to get PHP & oracle working on RH9, without re-compiling PHP please let me know!

  • Calling Oracle Function in PHP

    Hi,
    I'm calling a oracle function in php, the function has 1 IN parameter and 1 OUT parameter. The OUT parameter is BOOLEAN type.How to bind php variable for BOOLEAN type?
    Thanks.
    srinath.

    I think you're going to have to use it as a string and use string comparison.
    ~Jer

  • Insert into oracle lob using php odbc

    is there a way to insert a string > 4000 characters into an oracle lob using php without using oci8 extension? If so can somebody post some sample code to do it?

    Perhaps you could externally invoke Oracle's SQL Loader utility.
    What are you trying to achieve?
    -- cj

  • Oracle portal vs php

    could you give me about comparation web development using oracle portal and php.
    how about speed, security, flexibility ?
    where i can find, site with oracle portal ?

    I think that this kind of comparison is pretty much useless. It's a completely different environment. PHP is only a scripting language. Altough PHP is powerful, the Oracle 9iAS Portal is a completely different product. It features an RDBMS, Java language, an HTTP Server and various extensions.
    null

  • Anyone have experience about Mandrake9.1 + oracle instant client +php

    Anyone have experience about Mandrake9.1 + oracle instant client +php
    ======================
    Now i need your help about
    1. Install oracle instant client on my MDK9.1
    2. and want it so success and nice work ( PHP+Oracle Instant Client )
    ( PHP that can use oci8 tag : support oracle tag ) sir
    Can you help me and send me how-to/guide/link that "It's work !! " ? sir
    Thank you very much
    Pratchaya

    Use --with-oci8-instant-client option.
    Following links will help you:
    php + openldap +oci8 instantclient
    http://www.oracle.com/technology/pub/notes/technote_php_instant.html

  • Using Oracle Application Server -- PHP 4.3 - oci8 -- How to connect to db?

    Hi All,
    We are running php from Oracle Application server, which means Php version 4.3.
    All of the example connection strings I am finding use oci_connect, which is not available in this version.
    Can someone provide an example that we could use to connect to an Oracle DB from php for this version?
    Much thanks,
    ~Chris

    1. Correct the following path
    extension_dir = "D:/php/ext"
    (if your php is installed in D:/php, the above path is correct.
    2. Find the line ;extension=php_oci8.dll
    delete comment sign (;) and it will be :
    extension=php_oci8.dll

  • Can we use oracle reports with php

    hello
    any body know about that oracle reports can use in php or not if not any reason if can use any example oracle report and php ill very thankful to all for this help bye
    from farooq

    It depends on what you mean by 'use oracle reports within php'. If you generate reports as urls (don't know if oracle reports supports this but I think it does), you can just link to them or catch them in an iframe.
    If you are talking about generating a report from inside a php script, you can use a system() call to execute oracle reports tools such as 'rwrun'. If you do this, make sure your php server has proper oracle environment variables (such as ORACLE_HOME)

  • Oracle Reports from PHP

    PHP application needs to run an oracle report. iAS server, is online, so we have a reports server. Can you tell me "how to" run the oracle report from php?

    You can call the URL on IAS using fopen() function for example.
    http://www.php.net/manual/en/function.fopen.php

  • Inserting image in a table using php +zend

    Hy!
    The table is
    (products(picture_p blob,prod_id number)) when i try to insert the pictureusing a similar code with this from oracle .com:
    // Insert the BLOB from PHP's tempory upload area
    $lob = oci_new_descriptor($conn, OCI_D_LOB);
    $stmt = oci_parse($conn, 'INSERT INTO BTAB (BLOBID, BLOBDATA) '
    .'VALUES(:MYBLOBID, EMPTY_BLOB()) RETURNING BLOBDATA INTO :BLOBDATA');
    oci_bind_by_name($stmt, ':MYBLOBID', $myblobid);
    oci_bind_by_name($stmt, ':BLOBDATA', $lob, -1, OCI_B_BLOB);
    oci_execute($stmt, OCI_DEFAULT);
    // The function $lob->savefile(...) reads from the uploaded file.
    // If the data was already in a PHP variable $myv, the
    // $lob->save($myv) function could be used instead.
    if ($lob->savefile($_FILES['lob_upload']['tmp_name'])) {
    oci_commit($conn);
    else {
    echo "Couldn't upload Blob\n";
    $lob->free();
    oci_free_statement($stmt);
    // Now query the uploaded BLOB and display it
    $query = 'SELECT BLOBDATA FROM BTAB WHERE BLOBID = :MYBLOBID';
    $stmt = oci_parse ($conn, $query);
    oci_bind_by_name($stmt, ':MYBLOBID', $myblobid);
    oci_execute($stmt, OCI_DEFAULT);
    $arr = oci_fetch_assoc($stmt);
    $result = $arr['BLOBDATA']->load();
    // If any text (or whitespace!) is printed before this header is sent,
    // the text won't be displayed and the image won't display properly.
    // Comment out this line to see the text and debug such a problem.
    header("Content-type: image/JPEG");
    echo $result;
    oci_free_statement($stmt);
    oci_close($conn); // log off
    ?>
    I get an error -can't open file htdocs/ phpA.tmp
    please if you have an idea from where it could be the error reply

    It looks like your webserver doesn't have read permissions on the directory and files within it. In Linux, set it to 755, in Windows, I'm not sure what needs doing sorry.

  • Oracle 9 and PHP under Redhat 9

    Hi,
    I am planning to migrate my current web server from
    redhat 7.x to 9 and I am currently evaluating what may
    go wrong or need special attention before I actually
    replace it.
    After searching the archives and other lists I still
    have a question :
    a) oracle support
    For the current setup I've downloaded and installed
    the oracle 8i (8.1.5) in a separate machine, tar.gz
    the lib directory in order to compile and run php with
    oracle 8i in my production server.
    Is this the best approach for Redhat 9 or should I try
    to install oracle 9 which hopefully may have a
    devel-only option ? Note that php needs to access
    external oracle 8 servers which I do not mantain so compatibitity issues are important.
    Regards.

    I'm in a similar situation where i'm migrating from Win2k + PHP & want oracle support to connect to a remote server.
    I got as far as installing redhat 9 & installing the oracle client.
    I still can't get oracle to work in PHP though. doing a bit of research I dont think the redhat 9 RPM's come with oracle support compiled. I really dont want to be maintaining custom compiled php versions i'd rather just have up2date do it all. I hear you can get ODBC to work with oracle, but most of the stuff i've looked at covers doing this on windows, not linux.
    If anyone out there has manager to get PHP & oracle working on RH9, without re-compiling PHP please let me know!

  • Can select, but cannot insert into oracle tables using php.

    I am having trouble inserting data into a tables in oracle using PHP. I can insert into the tables using baninst1, but nothing else. I can't even insert using the tables' owner. Every time I try I get the ORA-00492 error of table or view does not exist. However, I can run a select statement just fine. So far, baninst1 is the only user that can actually do inserts. I've triple checked all the table grants and everything is fine. Also, I can copy/paste the exact insert statement into SQL*Plus and it works with the correct user. It doesn't have to be baninst1. I've tried everything I can think of. I've tried putting the table name in quotes, adding the schema name to the table, checking public synonyms, but everything appears to be ok. I would greatly appreciate any suggestions others may have.
    I'm using PHP 5.2.3 with an oracle 9i DB.

    Here is the code that doesn't work. It works only with baninst1, no other username will work and all I do is change the my_username/my_password to something different. This is one example function where I try to do an insert, but it doesn't work on any of the tables I try.
    Thanks for looking.
    class Oracle {
         private $oracleUser = "my_username";
         private $oraclePassword = "my_password";
         private $oracleDB = "MY_DB";
         private $c = null;
         function Connect() {
              if ( !($this->c = ocilogon( $this->oracleUser, $this->oraclePassword, $this->oracleDB ) ) )
                   return false;
              return true;
         function AddNewTest($testName, $course, $section, $term, $maxAttempts, $length, $startDate, $startTime, $endDate, $endTime)
              $result = "";
              if( $this->c == null )
                   $this->Connect();     
              $splitIndex = strpos($course, " ");
              $subjectCode = substr($course, 0, $splitIndex);
              $courseNumber = substr($course, $splitIndex + 1);
              $insertStatment = "insert into szbtestinfo(szbtestinfo_test_name,
                                                                szbtestinfo_course_numb,
                                                           szbtestinfo_section,
                                                                szbtestinfo_max_attempts,
                                                                szbtestinfo_length_minutes,
                                                                szbtestinfo_start,
                                                                szbtestinfo_end,
                                                                szbtestinfo_id,
                                                                szbtestinfo_subj_code,
                                                                szbtestinfo_eff_term)
                                                                values( '" . $testName .
                   "', '" . $courseNumber .
                   "', '" . $section .
                   "', " . $maxAttempts .
                   ", " . $length .
                   ", to_date('" . $startDate . " " . $startTime . "', 'MM/DD/YYYY HH24:MI')" .
                   ", to_date('" . $endDate . " " . $endTime . "', 'MM/DD/YYYY HH24:MI')" .
                   ", szsnexttest.nextval" .
                   ", '" . $subjectCode .
                   "', '" . $term . "')";
              //return $insertStatment;
              $s = OCIParse($this->c, $insertStatment);
              try
                   $result = OCIExecute($s);
              catch(exception $e)
              return $result;
         }

  • How to Query Sdo_Geometry Object of ORACLE SPATIAL in PHP?

    Hi,
    I am trying to Query the Oracle Spatial's Geometry object in the PHP page but its giving me the ADT Error. How can i see the GEOMETRY object information on the web using PHP. Thanking you in advance and waiting for ur prompt reply.
    Adnan!

    Hi Ana,
    In the Query below its returning the result as each value of one row in diffrent rows i wanna ask from u is:
    1- May i get all these values in one row ?
    2- Second, i want to query more than one row values from the table? as this is a single row subquery.
    Thanks for your help and i m looking forward for a positive reply from you.
    Regards,
    Adnan!
    The following select lists all ordinate-values from ONE object in the table:
    select *
    from table(select a.<column_name>.sdo_ordinates
    from <table_name> a
    where ID = xxxx
    *******************************************************************

Maybe you are looking for

  • Data services job failes while insert data into SQL server from Linux

    SAP data services (data quality) server is running on LInux server and Windows. Data services jobs which uses the ODBC driver to connect to SQL server is failing after selecting few thousand records with following reason as per data services log on L

  • Miro screen fields

    Hi All, Can anybody let me know ,where we can get the miro screen field status. i need to in Payment Tab i am not getting the fields like Due on Payment term, days, payment block fields. Regards, Sahil

  • Log files filling up rapidly

    I have noticed that each time I mount a smbfs share the wireless network fails after a couple of minutes, and has to be reset. The log files seem to be filling up rapidly. The daemon and sys log contain similar lines. Jan 2 21:51:34 TOSHIBA-User Netw

  • Portal Event name and namespace (ECM)

    Hi Experts I want to register for the Portal Event that gets triggered when an employee is selected. In the Compensation Information page, there is an employee search iview. I need to know what Portal Event name and namespace is triggered when an emp

  • Calling a SubVI in MatLab script?

    Can you call a subVI in MatLab script node, or does the SubVI 'node' always have to be used? If this can be done, how is it done - can 'load' be used followed by the subVI address on the computer?  Any help would be much appreciated! Thank you in adv