Re: POST form to dynamic page name
- From: Jerry Stuckle <jstucklex@xxxxxxxxxxxxx>
- Date: Tue, 31 Jul 2007 14:50:01 -0400
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
==================
.
- Follow-Ups:
- Re: POST form to dynamic page name
- From: ELINTPimp
- Re: POST form to dynamic page name
- References:
- POST form to dynamic page name
- From: SMP
- Re: POST form to dynamic page name
- From: ELINTPimp
- Re: POST form to dynamic page name
- From: Jerry Stuckle
- Re: POST form to dynamic page name
- From: ELINTPimp
- POST form to dynamic page name
- Prev by Date: Re: mysql command line client
- Next by Date: Re: POST form to dynamic page name
- Previous by thread: Re: POST form to dynamic page name
- Next by thread: Re: POST form to dynamic page name
- Index(es):
Relevant Pages
|