I think the main advantage is that if something goes wrong processing the datas, you can show the form again without redirecting again.

And if you have to change the behavior of the page, you have to change only one file instead of two.


SanTa

----- Original Message ----- From: "MEM" <tal...@gmail.com>
To: "'PHP-General List'" <php-general@lists.php.net>
Sent: Friday, April 24, 2009 2:34 PM
Subject: [PHP] Self-Process php forms or not?


I'm trying to understand the advantages behind opting by using a
Self-Process PHP Form, instead of having a form and then point the action of
the form to another .php page.

Can anyone point me some resources about this. Why using one instead of
another. What are the main advantages?



Regards,
Márcio


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to