Welcome to WebmasterWorld Guest from 23.22.46.195

Forum Moderators: coopster & jatar k

email form results

   
2:19 pm on Feb 24, 2014 (gmt 0)



So I have a php script that emails form results. It works on one server but not another, any reason for that? Is there something that needs to be installed on the non-working server? I have PHP Version 5.3.10-1ubuntu3.9 jnstalled on the non-working server. Is there something I should be looking for when looking at the phpinfo or something else that can be done?

Thank you!
11:14 am on Feb 25, 2014 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



for start, put the following 2 lines on the top of your page
to show any php erros

error_reporting(E_ALL);
ini_set('display_errors', '1');
8:18 pm on Feb 25, 2014 (gmt 0)

WebmasterWorld Administrator phranque is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month



Make sure the path to sendmail is set correctly.
6:43 pm on Feb 26, 2014 (gmt 0)



thank you the issue was postfix wasn't activated, works now
 

Featured Threads

My Threads

Hot Threads This Week

Hot Threads This Month