execute php scripts

tw twinturbotom 24 May, 2011
What is the best way to execute a php script using a chrono form? Where should the script physically reside?

In my situation I'm going to use a PHP script to "chop" files into 10mb sizes and then upload them in pieces (to allow for larger uploads🙂); I'm also looking to run a script that will move data uploaded via chronoform from one place to the next.

I'm not sure where and how to execute these. Maybe an "onSubmit="myScript" form tag attachment with my php scripts on the com_chrono's directory? and then the move script in the uploads directory (that I'm not sure how to execute either)!

Any direction is appreciated... Thanks!
Gr GreyHead 24 May, 2011
Hi twinturbotom,

It will probably need to go in the OnSubmit Before Email box. For this to run you must have 'Send Emails' set to 'Yes' in the form General tab.

Bob
This topic is locked and no more replies can be posted.