I need a php file that will allow me to call a php include, inside a php include.
I have a simple PHP email script that takes information entered into a form online and then sends a formatted response with the form input back to the client. There are 3 files:
1. "PHP Webform" sends user entered variables to > 2. "PHP Email sender" which takes the variables puts them into a formatted email PHP script and sends it to the client > *3. PHP include file - I need this part to include another php include that contains a signature, and then sends it as an email formatted to the client.
I have multiple forms, but all the same signature. I want to use an include file so that I can update one place and it fixes all my sender email forms with the right information. I need a solution that is easy and I really just need a simple file setup that will allow me to do this.
Sample files used attached. I really just need someone to show me how to do this.
Need english and script commented for work done.