PHP and Oracle Workflow

Hi everyone,
Is it possible to use PHP and Oracle Workflow together? I means use PHP to generate user-interface and PHP-OCI8 API to call WFEngine PL/SQL code?

All of the public documented Workflow Engine PL/SQL APIs and Java APIs enable customers to build their own screens based on workflow, such as building your own specialized worklist.
Hi everyone,
Is it possible to use PHP and Oracle Workflow together? I means use PHP to generate user-interface and PHP-OCI8 API to call WFEngine PL/SQL code?

Similar Messages

  • DW9, PHP, and Oracle

    We've just installed DWCS3 and now our Oracle (Oracle Thin
    Client) database connections are no longer available with DWCS3. We
    have just learned that DWCS3 will not work with Phakt and that PHP
    now only supports MySQL. Dropping Phakt without any PHP-to-Oracle
    alternatives is a serious threat to our continued use of Adobe web
    products because TCO / ROI concerns, facing the fact we may have to
    rebuild our websites.
    We need to continue to use PHP to access our Oracle dBs. Does
    anyone have any recomendations for a work-around to this sorry
    behavior?

    All of the public documented Workflow Engine PL/SQL APIs and Java APIs enable customers to build their own screens based on workflow, such as building your own specialized worklist.
    Hi everyone,
    Is it possible to use PHP and Oracle Workflow together? I means use PHP to generate user-interface and PHP-OCI8 API to call WFEngine PL/SQL code?

  • PHP and Oracle DB Job Find

    Hi every ones:
    I'm develop some applications using PHP and Oracle and php give me a lot of advantage. in bouth way of access to a database, OCI and mod plsql.
    How can i say to Oracle THANKS FOR TAKE SERIOUS PHP TECNOLOGY!!!
    I work actually for a company that implement all (Microsoft) and i want find a job with PHP and Oracle programming. Any body have idea that where i need look?

    How can i say to Oracle THANKS FOR TAKE SERIOUS PHP
    TECNOLOGY!!!You just did! Thanks!
    You can help Oracle with scripting languages even more, by completing the questionnaire on scripting langauges at:
    http://www.oracle.com/go/?&Src=1545492&Act=10
    Alison

  • PHP  and Oracle Connection

    Please help to connect to oracle through php.
    OS=Windows Server 2008 R2(x64)= is working correctly
    PHP ver=PHP 5.3.2= is working correctly
    ORACLE = Oracle Database 11gR2= is working correctly
    Since the PHP and Oracle on the same machine, I did not install install client(but even with instan client I could not connect to oracle).
    phpinfo does not show oci section
    in Environment section shows these values
    PHPRC = C:\Program Files (x86)\PHP\
    LD_LIBRARY_PATH = D:\ipardb\ora_base\product\11.2.0\orahome\lib
    NLS_LANG = AMERICAN_AMERICA.WE8MSWIN1252
    ORACLE_HOME = D:\ipardb\ora_base\product\11.2.0\orahome
    ORACLE_SID = iparbio
    Path= C:\Program Files (x86)\PHP\;D:\ipardb\ora_base\product\11.2.0\orahome\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\MySQL\MySQL Server 5.1\bin;
    TNS_ADMIN= D:\ipardb\ora_base\product\11.2.0\orahome\network\admin
    Loaded Configuration File C:\Program Files (x86)\PHP\php.ini
    uncommented extension in php.ini
    [PHP_OCI8_11G]
    extension=php_oci8_11g.dll
    extension dir is set ok, since other extensions are working properly
    when i execute php.exe, in error_log file appears
    [11-Jun-2010 10:37:34] PHP Warning: PHP Startup: Unable to load dynamic library 'C:\Program Files (x86)\PHP\ext\php_oci8_11g.dll' - %1 is not a valid Win32 application.
    in Unknown on line 0
    Please help me.

    I'm guessing the cause is probably the same as that article: PHP is 32bit but your Oracle libraries are 64bit.
    You will need to install 32bit instant client and make sure they are used for Apache. Does Windows 2008 have sym links? Perhaps the note mentioned at the end of OCI8 IN WINDOWS SERVER 2008 x64 will help. Otherwise try creating some batch scripts to set PATH appropriately before starting Apache.

  • Re: PHP  and Oracle Connection

    Are any specific links that will give me all knowledge regarding php and oracle connection? I am a new babie in this please help me out.

    Hi,
    I'm looking for specialists in PHP, Ajax and Oracle BPEL...
    Pages are: Praxisbörse und Jobs für Arzt und Zahnarzt http://www.praxis-welt.de für Praxisangebote und Jobangebote für Ärzte
    sowie auf http://www.berlin-umzug.net für Umzugsunternehmen aus Berlin für Umzüge, Klaviertransport und Tresortransport in Berlin.
    Any ideas / information / knowhow?
    Regards,
    Mic

  • A book for php and oracle

    Hi.I' m working in an application using php for web development and oracle for server database.My question is until now I found many links about this subject also many books about oracle,plsql and many books about php but I can't found a book about php with oracle and plsql.So my question is are there books about php and oracle?
    Thanks in advance thrylos

    I have seen one in my local book shop, not sure about Internet though.

  • PHP and oracle problem

    Hi,
    I'm trying to create a chart with php ad oracle. I'm using this code
    <?
         function Num_of_Rows($column, $status, $table){                         
              $conn = oci_pconnect("$username", "$passwd", "$host");     
              $sql_query = "SELECT COUNT($column) AS NUMBER_OF_ROWS FROM $table WHERE Status = '$status'";
              $stmt= oci_parse($conn, $sql_query);
              oci_define_by_name($stmt, 'NUMBER_OF_ROWS', $number_of_rows);
              oci_execute($stmt);
              oci_fetch($stmt);
              return $number_of_rows;     
         $result1 = Num_of_Rows("Admin_Number", "Active", "AS_ADMINS");
         $result2= Num_of_Rows("Admin_Number", "Locked", "AS_ADMINS");
         echo $result1;
         echo $result2;
    ?>
    This code works but only once! When I delete the row $result1 = Num_of_Rows("Admin_Number", "Active", "AS_ADMINS"); the second call of the function works and when I delete      $result2= Num_of_Rows("Admin_Number", "Locked", "AS_ADMINS"); the furst call of the function works!
    It seems that I can use the function only once and I can't call it again. It seems that the problem is someone else. Do you have an idea?

    I don't know what you mean by "works".
    Have you tried changing the echo commands so the output is not adjacent?
    echo $result1 . "<br>\n";
    echo $result2 . "<br>\n";It seems odd to allow an arbitrary tablename but assume that there is always a column called STATUS.
    I'd recommend using bind variables where possible.

  • Apex and Oracle workFlow.

    Hi ,
    Can anybody tell me how to integrate the Oracle Workflow in APex.
    I m not looking only for Oracle workflow.
    Except creating the PLSQL workflow from scratch anything which will surve the purpose will help.
    Eagerly wiating for replies .... :)
    Regards,
    Nandini Thakur.

    Hi,
    Were you able to find some pointers on integrating oracle workflow with apex? If so, would you please share here.
    We have a similar requirement at our company too and looking for some help. Not much help found with google.
    Thanks
    H

  • External Java Class and Oracle Workflow 2.6.3

    Hi,
    There is a requirement wherein I have to call an external Java class to fetch a string value from an external source and use that in the Oracle Workflow Notifications.
    After reading the Workflow documentation, I understand that Java classes can be called only for standalone version of the Workflow Builder (2.6.3). As the
    requirement is for an e-business suite implementation (11.5.10), I was wondering if there is a way to acheive this. Can an external Java class be called from within
    Oracle Workflow?
    I would really appreciate if someone can point me in the right direction.
    Many Thanks,
    Praveen

    Hi,
    If you write a wrapper to the java class in PL/SQL, then you can invoke that class from a PL/SQL activity conforming to the standard PL/SQL signature.
    HTH,
    Matt
    WorkflowFAQ.com - the ONLY independent resource for Oracle Workflow development
    Alpha review chapters from my book "Developing With Oracle Workflow" are available via my website http://www.workflowfaq.com
    Have you read the blog at http://www.workflowfaq.com/blog ?
    WorkflowFAQ support forum: http://forum.workflowfaq.com

  • Is my configuration correct? PHP and Oracle HTTP server

    Hi all,
    I have a single server running RHEL5 x86-64 and Oracle 11.1. I also have the Oracle HTTP Server which purportedly has "PHP support".
    I am trying to do a basic test connect to my database, but I'm getting an error.
    My test is the following:
    <html>
    PHP Test with Oracle<head>
    <body>
    <pre>
    <?php
    $conn = oci_connect('scott', 'tiger', 'myserver/MYDBSERVICE');
    if (!$conn) {
    trigger_error("Could not connect to database", E_USER_ERROR);
    ?>
    </pre>
    </body>
    </html>When I open the page, I see the following:
    PHP Test with Oracle
    Fatal error: Call to undefined function: oci_connect() in /u01/app/oracle/product/HTTP_Server/ohs/htdocs/phptest/dtest4.php on line 6
    I've also tried phpinfo() and get the following:
    oci8
    OCI8 Support      enabled
    Revision      $Revision: apache_modules/mod_php/4.3.9/ext/oci8/oci8.c#0 $
    Oracle Version      10.1
    Compile-time ORACLE_HOME      /ade/svadugur_mjoyphp4311/oracle
    Libraries Used      no value
    Any idea what may be going on? I've looked through much documentation already before posting to no avail.
    Thank you for any insight.

    The oci_* names were introduced in PHP 5. In PHP 4 the equivalent connection command is ocilogon(). For other mappings see Appendix C of the free book http://www.oracle.com/technetwork/topics/php/underground-php-oracle-manual-098250.html
    I'd recommend you upgrade PHP. See "Installing OCI8 with Oracle Application Server on Linux" on p 76 of that book. Note the warnings.

  • Apache, PHP, and Oracle 11G

    Hi,
    I have an 11G RAC Setup, and a separate application server that runs php that is presently connecting to MySQL Servers.
    I just configured OCI8 in my application server and can see that my configurations are correct using phpinfo().
    iam using this code to connect to my RAC 11G:
    <?php
    if(!$conn = oci_connect('sys', 'opensesame','callbox.oracle'))
    $err = oci_error();
    trigger_error('Could Not Establish a Connection:'.$err['message'], E_USER_ERROR);
    ?>
    but i get this error:
    Warning: oci_connect() [function.oci-connect]: ORA-12154: TNS:could not resolve the connect identifier specified in /var/www/html/oraconn.php on line 6
    here's tnsnames.ora in my RAC, using sqlplus via command line works perfectly fine in either nodes of the rac.
    LISTENERS_CALLBOX =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = node01-vip)(PORT = 1521))
    (ADDRESS = (PROTOCOL = TCP)(HOST = node02-vip)(PORT = 1521))
    CALLBOX2 =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = node02-vip)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = callbox.oracle)
    (INSTANCE_NAME = callbox2)
    CALLBOX1 =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = node01-vip)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = callbox.oracle)
    (INSTANCE_NAME = callbox1)
    CALLBOX =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = node01-vip)(PORT = 1521))
    (ADDRESS = (PROTOCOL = TCP)(HOST = node02-vip)(PORT = 1521))
    (LOAD_BALANCE = yes)
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = callbox.oracle)
    am I missing something?

    i forgot to include that the tutorial that helped me configure the OCI8 for PHP suggests that i need to create tnsnames.ora in /etc like this:
    SERVICENAME =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = ip_of_oracle_server)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = SID)
    (SID = SID)
    so I created this:
    CALLBOX1 =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST =192.168.50.161)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = callbox.oracle)
    (INSTANCE_NAME = callbox1)
    and did this: export TNS_ADMIN=/etc/
    am not sure which part of my tnsnames.ora in the RAC (posted earlier) be copied in /etc/tnsnames.ora in the application server.

  • Who can help me with connecting php and oracle ........

    and I've tried several ways and does not connect, I vote errors like this
    Warning: oci_connect(): ORA-12154: TNS:could not resolve the connect identifier specified in C:\xampp\htdocs\conexion oracle\consulta.php on line 4
    array(4) { ["code"]=> int(12154) ["message"]=> string(65) "ORA-12154: TNS:could not resolve the connect identifier specified" ["offset"]=> int(0) ["sqltext"]=> string(0) "" } Conexion es invalida
    almost always all errors have to do with the oci8 funsiones
    I appreciate the help you could provide

    ORA-12154 ALWAYS only occurs on SQL Client & no SQL*Net packets ever leave client system
    ORA-12154 NEVER involves the listener, the database itself or anything on the DB Server.
    ORA-12154 occurs when client requests a connection to some DB server system using some connection string.
    TNS-03505 is thrown by tnsping & is same error as ORA-12154 thrown by sqlplus or others.
    The lookup operation fails because the name provided can NOT be resolved to any remote DB.
    The analogous operation would be when you wanted to call somebody, but could not find their name in any phonebook.
    The most frequent cause for the ORA-12154 error is when the connection alias can not be found in tnsnames.ora.
    The lookup operation of the alias can be impacted by the contents of the sqlnet.ora file; specifically DOMAIN entry.
    So post the content of the sqlnet.ora file.
    TROUBLESHOOTING GUIDE: ORA-12154 & TNS-12154 TNS:could not resolve service name [ID 114085.1]
    http://edstevensdba.wordpress.com/2011/02/26/ora-12154tns-03505/

  • Help with SL Server PHP and Oracle ?

    (my apologies for post to wrong forum first)
    I'm attempting to add oci8/instantclient to the "out-of-the-box" php distribution w/o recompiling (if at all possible)
    have installed instantclient in /usr/local
    installed oci8 from pecl and built w/instantclient
    I THINK my main issue is adding the DYLIB- envt variables because I cannot find a reference to the required XML syntax
    Has anyone got this bad boy working?

    Assuming you installed the Oracle Instant Client correctly, then try this as root (or issue sudo -s before):
    mkdir -p /SourceCache
    cd /SourceCache
    curl -O http://www.opensource.apple.com/source/apachemod_php/apache_modphp-53/php-5.3.0.tar.bz2
    tar xjf php-5.3.0.tar.bz2
    cd /SourceCache/php-5.3.0/ext/oci8
    phpize
    MACOSXDEPLOYMENTTARGET=10.6 CFLAGS="-arch i386 -arch x86_64 -g -Os -pipe -no-cpp-precomp" CCFLAGS="-arch i386 -arch x86_64 -g -Os -pipe" CXXFLAGS="-arch i386 -arch x86_64 -g -Os -pipe" LDFLAGS="-arch i386 -arch x86_64 -bindatload" ./configure
    make
    make install
    When done, edit/create /etc/php.ini and add:
    extension=/usr/lib/php/extensions/no-debug-non-zts-20090626/oci8.so
    next issue:
    sudo apachectl graceful
    with a little luck you are all set.
    HTH,
    Alex

  • How to use Php and Oracle on 2 different systems

    Hi!
    I connected with a net 2 systems. One (Windows 2000 + Oracle9i) is the database server. The other (WinXP + Apache 2.0.54 + Php 5.0.4 ) is the web server. I'd like to make the WinXP machine connect on the Win2000 but It seems it doesn't work even if I'm using:
    oci_connect( "<user>" , "<pwd>" , "//<ip>:<port>/<db-name>" );
    the error is always "_oci_open_server: ORA-06401: NETCMN: designatore del programma di gestione non valido"
    (translated: "NETCMN: invalid gestion management program")
    can someone help me?
    Thanx a lot!!

    ORA-06401, 00000, "NETCMN: invalid driver designator"
    Cause: The login (connect) string contains an invalid driver designator.
    Action: Correct the string and re-submit.
    The //ip:port/sid connect string will only work with 10g clients.
    Check your tnsnames.ora file. Does the file have control characters or missing carriage-return characters ? (Maybe you ftp'd the file from a unix box ?)
    I would suggest that you create a new tnsnames.ora - hand edit it (don't copy the old one). If you have sqlplus client - try using it to connect to the remote DB first.
    The instructions for connection to a local or remote DB are all the same (when using plain OCILogon) because the connection is made over TCP.

  • Oracle Workflow Manager, Agent Listener, and Java Mailer problem

    Hi,
    I am not sure this topic to this forum, since this might be installation issue.
    But I am hitting a big wall.
    I had Windows 2000 SP4.
    I have already installed Oracle Database 10gR1, Oracle Developer 10gR2, and Oracle Workflow 2.6.3 Standalone previously.
    Including :
    - Oracle Workflow Server 2.6.3
    - Oracle Workflow Builder 2.6.3.5
    - Apache HTTP Server 9.0.4
    - Workflow Middle Tier
    Anything seems to right, including the Notification Mailer and the Business Event.
    And I had also made backup of them surely.
    Now,
    I'd like to change into Oracle Database 10gR2 because :
    1. Some errors I found when I tried to call a Report from Oracle Form.
    Unable to connect to Report Server ...
    I thought Oracle Database 10gR1 is not suitable for Oracle Developer 10gR2.
    2. And in the OWF 2.6.3 Workflow Home Page, there was no Logout button (which I found in OWF 2.6.4)
    I removed my previous installation including Oracle Workflow.
    After strugglineg in the installation of Oracle Database 10gR2, now I am facing another problem with Oracle Workflow.
    I succesfully installed Oracle Workflow 2.6.4 Server and Oracle Workflow Manager (standalone version),
    and the Oracle Workflow Middle Tier.
    After I launch Oracle Workflow Configuration Assisstant, everthing seems to be normal.
    I succed to open the Oracle Workflow Home Page (and found the Logout button there)
    Next, I tried to navigate to the Oracle Workflow Manager.
    1. I start the OC4J_Workflow_Management_Container --> initialized
    2. OC4J_Workflow_Component_Container
    The following error line appeared in the OC4J command prompt
    06/05/26 10:31:40 LOG_ID_UNKNOWN : oracle.apps.fnd.cp.gsc.Logger.Logger(String,
    int) : Logging to System.out until necessary parameters are retrieved for Logger
    to be properly started.
    06/05/26 10:31:40 LOG_ID_UNKNOWN : oracle.apps.fnd.cp.gsc.SvcComponentContainer.
    initializeStateMachine() : BEGIN [default implementation]
    06/05/26 10:31:40 LOG_ID_UNKNOWN : oracle.apps.fnd.cp.gsc.SvcComponentContainer.
    getNewWorkflowContext() : BEGIN
    06/05/26 10:31:45 LOG_ID_UNKNOWN : oracle.apps.fnd.cp.gsc.SvcComponentContainer.
    loadGlobalParameters() : BEGIN
    06/05/26 10:31:48 oracle.apps.fnd.wf.common.ContextFactoryException: Unable to g
    et connection from data source because the following Exception occurred -> java.
    sql.SQLException: ORA-28000: the account is locked
    06/05/26 10:33:57 Oracle Application Server Containers for J2EE 10g (9.0.4.1.0)
    initialized
    3. finally it initialized
    Next I tried to go to Oracle Workflow Manager from related link of Enterprise Manager
    It is said that the OWF_MGR is locked
    (I surprised since I had UNLOCKED the OWF_MGR after the installation and succeed to login at the Workflow Home Page)
    And the following error line appeared in the commaned prompt after that
    06/05/26 10:35:03 OrionCMTConnection not closed, check your code!
    06/05/26 10:35:03 Logical connection not closed, check your code!
    06/05/26 10:35:03 (Use -Djdbc.connection.debug=true to find out where the leaked
    connection was created)
    4. I re-UNLOCK the OWF_MGR and login to Oracle Workflow Manager
    I noticed that the Agent Listener and Notification Service is Unavailable
    (In OWF 2.6.3, The Agent Listener was started and Notification Service was waiting to be configured)
    I tried to start one of the Agent Listener, but the following error appeared
    ERROR: The Service Component Container is not running
    Well, I had the same problem when installing the OWF 2.6.3
    I tried to uninstall (remove) and re-install it like I had done before in OWF 2.6.3
    (based on someone's post in Oracle's forum)
    But this time, the re-installation won't fix this problem. (It was succeed in the OWF 2.6.3)
    Everytime I start the OC4J, using wfmgrstart.bat and wfsvcstart.bat
    the OWF_MGR is re-LOCKED(TIME) automatically.
    And the servlet (WFALSNRSVC and WFMLRSVC) are not running.
    I am worry, since I cannot use the Notification Mailer if this problem had not fixed yet.
    (In OWF 2.6.3, the mailer was not available until those servlet is Started)
    Sorry for the long post.
    Any help would be grateful.
    Many thanks,
    Buntoro

    Hi,
    Finally, I have found the solution.
    Step :
    1. Start all of the Oracle Service, except for the OC4J
    If you have already started OC4J, then stop them
    Unlocked the <wf_manager_user>
    2. Search in your Oracle Home : data-sources.xml
    There should be two files,
    one is in the ...\OC4J_Workflow_Component_Container\application-deployments\WFALSNRSVCApp
    the other is in ...\OC4J_Workflow_Component_Container\application-deployments\WFMLRSVCApp
    3. Make sure, you create back up of them.
    4. Replace the following line
    password="-&gt;pwForOwfMgr"
    with
    password="<your_wf_manager_password>",
    should be look like this
    password="a"
    5. Now start the OC4J using wfmgrstart.bat and wfsvcstart.bat
    6. Next, login to the Oracle Workflow Manager
    This worked for me.
    Hope this will help someone who has the same problem.
    Buntoro

Maybe you are looking for