Re: POST form to dynamic page name



ELINTPimp wrote:
The problem with this is you can't post the form on a header redirect.
There are a couple of ways around it.

excellent point, i didn't think far enough ahead.

leaving JS out of this problem (just for fun)...what about dynamically
using a SSI?

$option = $_POST['option'];
$option_safe = //do validation
include_once "$option_safe.php";


That's a possibility - it should work. The only problem would be multiple pages with the same exact URL. Bookmarks wouldn't work for instance. Of course, I don't know if that's important or not. Probably not, from his description.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@xxxxxxxxxxxxx
==================
.



Relevant Pages