|
Posted by Bob Bedford on 06/20/05 10:32
"www.douglassdavis.com" <douglass_davis@earthlink.net> a écrit dans le
message de news: 1119018024.018592.105860@o13g2000cwo.googlegroups.com...
>
> POST to the same page.
>
> If the result is unsucsessful, show the errors, and allow them to
> resubmit.
>
> If the result is successful (page has been processed), use a header to
> redirect to the same page with a GET parameter such as success=true,
> then just display the "Your Email has been sent!" message.
>
> When it POSTS, it does the processing, when it GETS it displays the
> result.
>
> Only downside is you can't echo all the info that the user just typed
> in.
>
> For a really long explanation:
> http://www.theserverside.com/articles/article.tss?l=RedirectAfterPost
>
>
> ---
> PHP Stuff:
> http://www.douglassdavis.com
>
>
Thanks for the tip !
Cheers.
Bob
[Back to original message]
|