Warning: Page has Expired
Posted: Thu Nov 27, 2003 3:13 am
i do a Date checking. If date format incorrect, alert then go back. But the page display " Warning: Page has Expired " .
how to get back the previous page? anyone can help me ?
i didn't use session in this page.
how to get back the previous page? anyone can help me ?
i didn't use session in this page.
Code: Select all
<?php
if(!checkdate($mm,$dd,$yy))
{
getDateAlert() ;
}
function getDateAlert()
{
echo'
<script language="JavaScript1.2">
alert("Please select the correct Date format ");
history.go(-1) ;
</script>
';
exit ;
}
?>