Sep 22nd, 2009, 12:46 PM
In testing, I found that including the response text wasn't robust enough - I can't include the html to display an image for example. So, I came up with a better solution. The code at the end redirects the page, but it could just as easily be an include_once. So, now my hidden form input is called "include". If it is set, the process.php page will do this:
include $redirect_url;
If not, it just behaves normally and does:
header("Location: " . $redirect_url); - the normal behavior.
I can't think of any reason this would cause a problem. I'll post the actual code once I test it a little more. Thanks for the help.
include $redirect_url;
If not, it just behaves normally and does:
header("Location: " . $redirect_url); - the normal behavior.
I can't think of any reason this would cause a problem. I'll post the actual code once I test it a little more. Thanks for the help.