homepage Welcome to WebmasterWorld Guest from 54.204.182.118
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Home / Forums Index / Code, Content, and Presentation / PHP Server Side Scripting
Forum Library, Charter, Moderators: coopster & jatar k

PHP Server Side Scripting Forum

    
email form results
jp12



 
Msg#: 4648569 posted 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!

 

omoutop

WebmasterWorld Senior Member 10+ Year Member



 
Msg#: 4648569 posted 11:14 am on Feb 25, 2014 (gmt 0)

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');

phranque

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



 
Msg#: 4648569 posted 8:18 pm on Feb 25, 2014 (gmt 0)

Make sure the path to sendmail is set correctly.

jp12



 
Msg#: 4648569 posted 6:43 pm on Feb 26, 2014 (gmt 0)

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

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / PHP Server Side Scripting
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved