Installation and Administration 6.0 > Installing Corda Embedder

PHP

If you use PHP to deliver web content, you can embed a Corda image using the PHP version of the Corda Embedder.

Before you can include the Corda Embedder library into a PHP page, you must first make sure that the CordaEmbedder.php file, located in the dev_tools/embedder/php folder, is accessible to your PHP pages. There are three ways of doing this:

To add the Corda Embedder to PHP's include path

  1. Open the php.ini file in a text editor.
  2. You can find this file at C:\Windows\php.ini folder on Windows, and at /etc/php.ini folder for Linux/UNIX compatible systems.

  3. Look for the include_path variable.
  4. If you've never used it before, you may need to uncomment it by removing the semi-colon from in front of it.

  5. Add the path to CordaEmbedder.php to the path list.
  6. If there's already something there, you should separate the CordaEmbedder.php location from the list with a semi-colon, as illustrated below:

    include_path = ".;c:\php\pear;C:\Program Files\Corda5x\dev_tools\embedder\php"

  7. Save the PHP.ini file.

For instructions on using the Corda Embedder in PHP pages, refer to "PHP" of the PopChart+OptiMap Web Development Guide or "PHP" of the Highwire User Guide.

<< Previous | Next >>