Hello all.
I have a regular EE page within our site. All is working well.
In one of these pages I am submitting a basic HTML form with the action pointing to a php processing script. For the sake of the experiment, I am simply including the following in the script
<?php
header('Refresh: 2;URL='show-your-jomar-contest');
?>The form submits and the address bar displays the correct address showing me that it did advance to the script but I receive the same error as when I key in a page that doesn’t exist (there is no current 404 handling set)
The proc script code is in a new template and contains only the code above.
PHP is enabled and set to output (and was set to input)
Eventually the script will execute a bunch of functions, but for now I am just trying to get the redirect to work within EE to make sure I know how to incorporate php scripts into EE.
Any thoughts?
I figure it is trying to see the script as a ‘page’ since it is looking to segment_1 which is currently the script but without a true template, it is stuck?
I was wondering if there were any special handling required.
FYI - I am very familiar with FreeForm and direct MySQL and native DB processing. This will be used for something else.
Thanks
Rich