View Single Post
Old 05-21-2008, 05:41 AM   #6 (permalink)
SOCK
The Acquainted
 
Join Date: Nov 2007
Posts: 154
Thanks: 31
SOCK is on a distinguished road
Default

sarmenhb> You shouldn't kill the script and just show the user a blank page, your script should handle errors and bad data gracefully. If your script incorporates the user entry form, then add some logic that still shows the form but displays a relevant error that they can correct. If the script is separate and simply handles the input, use a header() call to redirect back to the form page, passing an error handling action in the URL query string.
__________________
I reject your reality, and substitute my own.
SOCK is offline  
Reply With Quote