Schade oder vllt. geht es ja doch kannst.
Also dass will ich in DHTML haben:
<?php
include_once "head.html";
include_once "tg_funcs.inc";
// This checks to make sure PHP is the specified version or later.
check_php_version( "3.0.8" );
if( !isset( $_POST ) ) {
$_POST = &$HTTP_POST_VARS;
}
?>
<TABLE WIDTH=751 CELLPADDING=5 CELLSPACING=0 BORDER=0>
<TR><TD>
<CENTER>
<H2><FONT COLOR="brown">BRU<SUP><FONT SIZE="-1">TM</FONT></SUP> Backup & Restore Utlity Demo Download</FONT></H2>
<HR NOSHADE>
</center>
<TABLE WIDTH=95%>
<TR><TD><CENTER>
<FONT CLASS="normal">
<?php
$reqd_flds = array( 'name', 'address1', 'city', 'state', 'country', 'zip', 'phone', 'email_address' );
$missing_fields = '';
$link = '';
$product = 'bru';
foreach( $reqd_flds as $field ) {
if( strlen( $_POST[$field]) < 1 ) {
$missing_fields .= " $field";
}
}
if( isset( $missing_fields ) && $missing_fields != '' ) {
$missing_fields = preg_replace( '/^ /', '', $missing_fields );
reqd_fld_err( $missing_fields );
}
if( !strcmp( $_POST['product'], '0' ) ) {
echo "You MUST enter a version of BRU to DL!";
echo "<a href="javascript:history.go(-1)"><BR><BR>Go back and try again!</a>";
} else {
$dl_URL = "http://www.TOLISgroup.com/demos/BRU.html";
get_thankyoupage_body ( $product, $_POST['name'], $_POST['email_address'], $dl_URL );
send_client_email( $product, $_POST['name'], $_POST['email_address'], $dl_URL );
send_VAR_email( $product, $_POST );
}
?>
</TD></TR>
</TABLE>
</TD></TR>
</TABLE>
</FONT>
<?php include_once "foot.html"; ?>