What does "language module PHP" actually do?
I checked the language module PHP in my desktop app,
but no PHP code works. I have noticed several other postings from frustrated people wondering how to make PHP work.
What does checking "language module PHP" actually do?
How do you run PHP code in a desktop app?
– David Jones
2 Answers
-
Checking the PHP module allows you to use PHP code in your application. You can either code it inline (not preprocessed):
<script type="text/php"> $foo = 'bar'; $document->write($foo); </script>
Or include pre processed scripts:
<script type="text/php" src="path/to/file.php">
or
<script type="text/php"> include('path/to/file.php'); </script>
More information can be found on the Programming Guides
-
At vista the first one works too. But the other ones do not work !
Is someone able to say why ??