|
Header.php and footer.php (header.asp and footer.asp) files are used to display header and footer on all generated PHP (ASP) pages.
You can create them using any text editor and put your custom html, JavaScript or PHP (ASP) code to these files.
If you like these header and footer will be added to all generated php projects automatically you need
to put these files to C:\Program Files\PHPRunner\source\include (C:\Program Files\ASPRunnerPro\source\include) directory.
Also you can put header.php and footer.php (header.asp and footer.asp) files to include folder in output directory.
You don't need to rebuild project after this.
For example if you wanted to enclose all output in a centered table 300 pixels wide, logo above
and some text below the table you need to create the following two files with the following contents:
header.php/header.asp
<p align="center"><img src="include/logo.jpg" border="0"></p>
<table width="300" border="1" bordercolor=#2237cbb align="center" cellpadding="5">
<tr>
<td>
footer.php/footer.asp
</td>
</tr>
</table>
<p align="center">
<b><font color=#237cbb> © 1999 - 2005 XLineSoft. All rights reserved.</font></b></p>
How it looks in browser:

Applies to:
ASPRunner Pro
PHPRunner
Back to top
|