<?php ob_start("ob_gzhandler"); ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" dir="ltr">
<head>
<script language='javascript' type='text/javascript' src='/propertysel.js.php'></script>
<Title>Add/Remove Resident - </Title>
<?php define("_BB_DIR", "./bb/");
define("COUNTER", _BB_DIR."mark_page.php");
if (is_readable(COUNTER)) include_once(COUNTER);
include ("./menu.php"); ?>
<p>Add/Remove Resident<br>
<FORM name="globe" METHOD="POST" ACTION="http://www.mysite.com/cgi-bin/bnbform.cgi">
<INPUT TYPE="HIDDEN" NAME="outputfile" VALUE="mailapps"><INPUT TYPE="HIDDEN" NAME="countfile" VALUE="countmailapps">
<INPUT TYPE="hidden" NAME="submit_to" VALUE="enquiries@mysite.com">
<!--
bla bla
-->
to confirm this application</p>
</body></html><?php ob_flush(); ?>
addendum (reference to script.js.php
php version javascript file <?php ob_start("ob_gzhandler");
header ('content-type: text/javascript'); ?>
php version css file <?php ob_start("ob_gzhandler");
header ('content-type: text/css'); ?>
too is gzipped)
havent yet learned to enable gzip in apache
Last edited by almostbob; May 25th, 2009 at 8:42 pm.
Reputation Points: 562
Solved Threads: 367
Posting Maven
Offline 2,970 posts
since Jan 2009