Forums / General / PHP and post method

"Please Note:
  • At the specific request of Ibexa we are changing this projects name to "Exponential" or "Exponential (CMS)" effective as of August, 11th 2025.
  • This project is not associated with the original eZ Publish software or its original developer, eZ Systems or Ibexa".

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