It seems weird to be one of very few who are posting here. But the responses have been great. So here goes for another one...
I have an HTML page with just a teensy bit of PHP code in the beginning. In this HTML is a form which sends to a Perl script. If all the data sent to the Perl script is not right (i.e. a field was left blank), I print out "Error. Field missing data. Click BACK on your browser and correct". But when they do, the entire form is erased. Almost like the page was refreshed.
Is there a way to retain what was entered instead of having that form screen cleared out? Is it the PHP that is doing it?
For what its worth, the PHP code is from PhpSecurePages to enable protection for this private area:
<?PHP $cfgProgDir = 'phpSecurePages/';
include($cfgProgDir . "secure.php");
?>
Thanks


LinkBack URL
About LinkBacks



Reply With Quote
Bookmarks