Code:
<?php ob_start(); session_start(); ?>
the php looks like
Code:
if(empty($_POST['agree'])) { echo "<h3>You must agree before accessing our database</h3>"; } else { //echo "<h3>You
<?php ob_start(); session_start(); ?>
if(empty($_POST['agree'])) { echo "<h3>You must agree before accessing our database</h3>"; } else { //echo "<h3>You
[14-Mar-2011 13:29:03] PHP Warning: Cannot modify header information - headers already sent by (output started at /home/daictcou/public_html/searchtcs.php:4) in /home/daictcou/public_html/php/termscond.php on line 22 [14-Mar-2011 13:29:08] PHP Warning: Cannot modify header information - headers already sent by (output started at /home/daictcou/public_html/searchtcs.php:4) in /home/daictcou/public_html/php/termscond.php
<?php if(empty($_POST['agree'])) { echo "<h3>You must agree before accessing our database</h3>"; } else { header('Location: searcher.php'); } ?>
<form id="form1" name="form1" method="post" action="search.php"> <label for="agree">Agree</label> <input type="checkbox" name="agree"
$submit = $_POST['submit']; $agree
Leave a comment: