#1  
Old 3rd November 2005, 18:17
pjm2211 pjm2211 is offline
Junior Member
 
Join Date: Oct 2005
Posts: 26
Thanks: 0
Thanked 0 Times in 0 Posts
Lightbulb PHP form mail error....

...I am trying to create a form when hitting submit, it emails the contents of the form to me. I am using a php script called Jack's Formmail....is that good or bad?? Not sure, but I've had it working on other webservers....My problem is, when I hit submit.......It sends me an email from 'apache@localhost.localdomain' , and not from webmaster@xyzdomain.com like I have set in my php script. Also, it doesn't email the contents of the form either. do I need to store php scripts somewhere other than my /web1/web folder for this to work? Any ideas would be helpful.. Thanks again.
Reply With Quote
Sponsored Links
  #2  
Old 3rd November 2005, 18:52
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,749 Times in 2,579 Posts
Default

I guess it has something to do with register_globals in PHP: http://www.howtoforge.com/forums/showthread.php?t=87
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #3  
Old 3rd November 2005, 19:13
pjm2211 pjm2211 is offline
Junior Member
 
Join Date: Oct 2005
Posts: 26
Thanks: 0
Thanked 0 Times in 0 Posts
Default

ok...i turned register_globals to on. Now the redirect works, and the email I get has the correct sent from.....ie> webmaster@xyzdomain.com, but the email is still blank. Doesn't send my form data. Any suggestions?
Reply With Quote
  #4  
Old 3rd November 2005, 19:15
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 37,001
Thanks: 840
Thanked 5,650 Times in 4,460 Posts
Default

I recommend to use another formmail script that does not require register_globals = on, because this setting might be a security risk.
Reply With Quote
  #5  
Old 3rd November 2005, 19:18
pjm2211 pjm2211 is offline
Junior Member
 
Join Date: Oct 2005
Posts: 26
Thanks: 0
Thanked 0 Times in 0 Posts
Default

do you have any suggestions for a formmail script?
Reply With Quote
  #6  
Old 3rd November 2005, 19:20
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 37,001
Thanks: 840
Thanked 5,650 Times in 4,460 Posts
 
Default

No, but I am sure you will find one at e.g. hotscripts.com
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Filtering emails using Spamassassin and Clamav for Exchange 2000 Server Rocky Server Operation 19 11th March 2008 09:27
Could not make OpenSSL yontengyatso Installation/Configuration 3 3rd November 2005 11:50
internal domain error with mail matehortua Installation/Configuration 5 16th October 2005 19:31
Install stop at uuwish, UUDeview SeaWolf Installation/Configuration 6 5th October 2005 00:53
mail() function not available in PHP??? dirk Programming/Scripts 4 26th May 2005 15:18


All times are GMT +2. The time now is 04:24.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.