• 1

Read this first!

We do not monitor these forums. The forum is provided to exchange information and experience with other users ONLY. Forum responses are not guaranteed.

However, please submit a ticket if you have an active subscription and wish to receive support. Our ticketing system is the only way of getting in touch with RSJoomla! and receiving the official RSJoomla! Customer Support.

For more information, the Support Policy is located here.

Thank you!

TOPIC: PHP Script after form submission

PHP Script after form submission 9 years 3 months ago #33762

Hello All,

I attempted to include a php script after form submission, however it calls the .php file before form submission even though the below code is in the Thank You Message section. I want the information posted to the Db first, then the script should run.
include $_SERVER[ 'DOCUMENT_ROOT']. "/templates/g5_hydrogen/custom/php/gs-groups-acl.php";

Any thoughts how I can safely include the file?
The administrator has disabled public write access.

PHP Script after form submission 9 years 3 months ago #33773

  • alexp
  • alexp's Avatar
  • OFFLINE
  • RSJoomla! Official Staff
  • Posts: 2253
  • Thank you received: 180
Scripts placed within the Scripts called after form process area are triggered after the submission has been saved. You can easily test this by using a die() statement and check the submissions area (you will notice that the submission has been saved)
Please note: my help is not official customer support. To receive your support, submit a ticket by clicking here
Regards,
RSJoomla! Development Team
The administrator has disabled public write access.
  • 1

Read this first!

We do not monitor these forums. The forum is provided to exchange information and experience with other users ONLY. Forum responses are not guaranteed.

However, please submit a ticket if you have an active subscription and wish to receive support. Our ticketing system is the only way of getting in touch with RSJoomla! and receiving the official RSJoomla! Customer Support.

For more information, the Support Policy is located here.

Thank you!