Location: PHPKode > projects > PhpWebDesk > phpWebDesk/test.php
<?php include "converter.inc.php"; ?>
<!doctype html public "-//W3C//DTD HTML 4.0 //EN"><html><head><title>Demo File</title></head>
This file is a demo of what phpWebDesk can currentely do.<br><br>
It can dynamically translate <b>bold</b>, <i>italic</i> and <u>underlined</u> text, along with titles.
Now, you probably can't see this, because the source of this page is HTML, and so was not converted. However, if
you view this page on a WAP browser, it will rewrite the page into WML.<br><br>
phpWebDesk features automatic detection as well. It will scan the pages beforehand to see if they contain any
giveaway tags, like the opening html tag. If it does, it automatically uses the correct input template
for that format. It then scans the browser's ID, to see what language it needs. Then it presents the correct page.
<br><br>
Now, <a href="http://sourceforge.net/projects/phpwebdesk">this link</a> should not be compressed, but
<a href="convert.exe">this one</a> should be compressed.
<br><br>
An example of the dynamic image conversion:<br>
<img src="images/IM.ico">
<br><br>
<img src="images/logo.png">
<br><br>
P.S. They were (well, might have been, depending on your system) converted. The small wand's an .ico file and that phpWebDesk logo was a png.
<br><br>
And all this from one include command... simple, easy, and useful.
<br><br>
That's more than I can say for some things.
</html>
<?php // This is a php comment. It should get stripped out. ?>
Return current item: PhpWebDesk