简体   繁体   中英

Joomla chronoform - use external php file

I'm using Chronoform to manage my forms in my Joomla website, and I'm trying to send my POST datas to an external php file.

For now, chronoform uses form datas to send some emails and then execute a "custom code" to do some php stuff. Maintaining this custom code is really tedious, as I have to go through the admin panel for each modification.

I thought about writing a simple include inside my custom code, but is there a cleaner way to do so ?

You can include your custom code into a Custom Code action in the form and maintain it using an FTP enabled editor (I use Sublime Text 3). Please see this ChronoForms FAQ for more information.

Depending on what the external PHP file needs you can use the cURL action or write custom code to send the data to it.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM