Reply to Re: POST form to dynamic page name

Your name:

Reply:


Posted by Jerry Stuckle on 07/31/07 18:50

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@attglobal.net
==================

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация