I have large php script that I want to include in a content page. It has more than one function so I can't just copy/paste into a UDT. So, after reading up, I uploaded the php file to the uploads directory. Then I created a UDT tag called "formmailer" with the following function call:
Code: Select all
include(uploads/formmailer.php);Code: Select all
Warning: Division by zero in /home/faith/public_html/lib/content.functions.php(669) : eval()'d code on line 1
Warning: cms_tmp_formmailer_userplugin_function(php): failed to open stream: No such file or directory in /home/faith/public_html/lib/content.functions.php(669) : eval()'d code on line 1
Warning: cms_tmp_formmailer_userplugin_function(php): failed to open stream: No such file or directory in /home/faith/public_html/lib/content.functions.php(669) : eval()'d code on line 1
Warning: cms_tmp_formmailer_userplugin_function(): Failed opening 'php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/faith/public_html/lib/content.functions.php(669) : eval()'d code on line 1

