Board index   FAQ   Search  
Register  Login
Board index PHP PHP General

Fix for Custom Email Script

General discussions related to php

Moderators: macek, egami, gesf

Fix for Custom Email Script

Postby 83dons » Fri May 31, 2013 6:22 am

Hi there. My aim to have a user complete a questionnaire online and for the input to be emailed as a PDF attachment to us. I have found a perfect script:

http://coreyworrell.com/blog/article/ph ... attachment

I uploaded this to a hosting account I have running PHP 5.3.25 and it worked perfectly. However I also uploaded it to the required account that has PHP 5.4.11 and it comes back with the standard error on completing - see below:

http://www.gohealthservices.scot.nhs.uk/RGU/form.php

I am pretty sure it must be a PHP 5.4 problem with the code but cant get hold of the creator to look into this. Looking at the code from the link above does anything obvious spring to mind?

AM really keen to sort this in next few days if anyone has time to have a look for me or test by uploading to their server running same version?

Thanks Chris
83dons
New php-forum User
New php-forum User
 
Posts: 1
Joined: Fri May 31, 2013 6:14 am

Return to PHP General

Who is online

Users browsing this forum: Google [Bot] and 2 guests

Sponsored by Sitebuilder Web hosting and Traduzioni Italiano Rumeno and antispam for cPanel.