This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| <?php | |
| ///amo integra begin | |
| $values = $hook->getValues(); | |
| $subject = $modx->getOption('emailSubject', $formit->config, 'form-'.$modx->resource->get('emailSubject')); | |
| $name = $values['name']; | |
| $phone = $values['phone']; | |
| $email = $values['email']; | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| // Buffer all upcoming output... | |
| ob_start(); | |
| // Send your response. | |
| echo "Testing response"; | |
| // Get the size of the output. | |
| $size = ob_get_length(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ini_set('soap.wsdl_cache_enabled', 0); | |
| ini_set('soap.wsdl_cache_ttl', 900); | |
| ini_set('default_socket_timeout', 15); | |
| $params = array('param1'=>$param1); | |
| $wsdl = 'http://service_url/method?WSDL'; |