Forums / General / PHP and post method

PHP and post method

Author Message

Marek Elsner

Sunday 14 November 2004 6:19:52 am

Hello,

I have PHP script, which read data, sent using POST method.
I would like to have form and after submitting data, PHP script should read them and do sth.
It is not a problem to include PHP script:

http://ez.no/ez_publish/documentation/customization/tips_tricks/including_php_files_in_templates

I was trying to use:

<form method="post" action={"http://localhost/script.php"|marksPHPinsert}>

but it just insert PHP script before submitting data and after submitting I got error, that PHP script can't be read properly.

Maybe someone know how to use PHP script in such a way...?

thx