CS174
Chris Pollett
Mar 10, 2021
<form method="post"> <!--... some form elements --> <input type="submit" name='submit button' value='submit' /> </form>we process the data in the receiving controller. Rather than choose a view and display it, we instead, output a 301 redirect, location header to some safe page. In PHP, we could do this with a line like:
<?php header("Location:http://somewhere.safe.com/");