You are here: Re: changing URLs after form submit « All PHP « IT news, forums, messages
Re: changing URLs after form submit

Posted by Martin Jay on 05/18/06 19:20

In message <ik0bg.174428$WI1.126230@pd7tw2no>, Ian Rutgers
<irutgers@otima.ca> writes
>"Martin Jay" <martin@spam-free.org.uk> wrote in message
>news:YYDqS0C1SFbEFwg6@spam-free.org.uk...

>> Do you really need to do a redirect, though? HTML and PHP code can be
>> mixed. Perhaps it would be easier to simply include the HTML after the
>> PHP code in the same file.

>You're right, I could just put the code in on the same page, but once the
>user completes the page
>http://www.thetruthsearch.com/explore/what_did_jesus_claim.php the client
>wants the user to be taken either to a thank you page or back to a menu ...

I still wonder if you're not trying to make things too complicated for
yourself.

I've uploaded a sample PHP file to:

<http://www.spam-free.org.uk/pages/email3.zip>

It emails the results of the form to a chosen email address, and
displays a 'thank you' to whoever fills the form in.

And linked to in your HTML file like so:

<form action="email3.php" method="post" name="who_is_jesus"
target="_parent" id="who_is_jesus">
--
Martin Jay

 

Navigation:

[Reply to this 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

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