Calling PHP script from oracle procedure

Posted on 2012-09-18
Last Modified: 2012-09-19

i have a script written in PHP ... i am running it from linux or windows cmd by entering command:

php.exe script_name.php parameter1 parameter2

Open in new window

I wonder if someone has an example how to implement that script call into an oracle procedure?

Thank you!
Question by:Caruso_eu
    LVL 39

    Expert Comment

    by:Pratima Pharande

    Author Comment

    Well to make it clear(er). In sqlplus you can run it like this:

    host('c:\php\php.exe e:\script_dir\script.php');

    Open in new window

    Now what would be same command for database stored procedure?
    LVL 39

    Accepted Solution

    this is anothe link for excuting command in pracle procedure

    Author Comment

    I've requested that this question be deleted for the following reason:

    reopening new one

    Featured Post

    What Should I Do With This Threat Intelligence?

    Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

    Join & Write a Comment

    Have you ever had to make fundamental changes to a table in Oracle, but haven't been able to get any downtime?  I'm talking things like: * Dropping columns * Shrinking allocated space * Removing chained blocks and restoring the PCTFREE * Re-or…
    Background In several of the companies I have worked for, I noticed that corporate reporting is off loaded from the production database and done mainly on a clone database which needs to be kept up to date daily by various means, be it a logical…
    This video shows how to Export data from an Oracle database using the Original Export Utility.  The corresponding Import utility, which works the same way is referenced, but not demonstrated.
    This video explains what a user managed backup is and shows how to take one, providing a couple of simple example scripts.

    755 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    19 Experts available now in Live!

    Get 1:1 Help Now