If this is working, you _should_ get two alerts!
Document uses file "combined.js.php" as javascript source..
Source code for "combined.js.php"
<?php
header('Content-type: text/javascript');
readfile('file1.js');
readfile('file2.js');
?>
as you can see it's using and combining two .js files, the source code for each file is below:
"file1.js"
// JavaScript Document
alert("Hello File 1");
"file2.js"
// JavaScript Document
alert("Hello File 2");
This file is calling only one file in the header
<script language="javascript" src="combined.js.php"></script>
That's about it!