| PHP
is a widely used general-purpose scripting language that is
especially suited for Web development and can be embedded
into HTML.
PHP is an HTML-embedded scripting language. Much of its syntax
is borrowed from C, Java and Perl with a couple of unique
PHP-specific added. The goal of the language is to allow web
developers to write dynamically generated pages quickly and
easily.
We have included phpMyADmin and phpPgAdmin which are powerful
PHP applications that can be used as is or modified to suite
your needs.
PHP makes it easy to execute any application on our system.
With one line you can create an HTML document that will run
an AppleScript, Perl, Java, shell script or any executable.
For example if you add this tag to your HTML:
<PHP? $theResults = execute_program('yourAppleScript',
'-formOptions'); ?>
The
results of "yourAppleScript"
(if any) will then be contained in the variable "$theResults".
Which
you could then send the results to another script or display
the results like:
<PHP?
echo "The results from your AppleScript are: $theResults
<BR>"; ?>
It's
as simple as that!
|