Paging PYRO, mailer.php

liunx

Guest
Pyro, I got a problem. You graciously gave me mailer.php script and I have used it on WePay.com (<!-- m --><a class="postlink" href="http://www.wepay.com">http://www.wepay.com</a><!-- m -->). It worked perfectly for many pledges over a few weeks. Now, due to a guy contacting me about the pledge he just made (which I never got), I tested the form and it is NOT working. I have no idea why. No wonder my pledges dropped off to zip weeks ago. I have tweaked and tweaked that page to try to boost pledges. But apparently, it wasn't the copy, it is something else.<br />
<br />
So, I don't think it does but I thought I'd ask. It doesn't do anything but email me that info, right? It doesn't write any kind of text file, no? I suppose there is no way for me to know who has sent a pledge in that past few weeks (that I never received.)<br />
<br />
Heck, I have no idea how to figure out why it's not working. Any idea what I could have done? I don't think I have done anything to mailer.php. I mean, last I knew, it was working, even after any mods I did to it.<br />
<br />
THIS JUST IN. MAYBE, just maybe there is a possibility... I had a programmer doing some checking on our server why I could not install another script. He did this and that, I have no idea what. I don't know if he was inside my "wepay.com" folder or not. It is possible he did something permission-wise with php. If he did something that would affect my entire server php-wise, that could do it.<br />
<br />
Could you tell me what my permission should be on any file related to your mailer.php?<br />
<br />
THanks so much.<!--content-->Regarding the lost mails:<br />
<br />
Make sure you post a notice on your homepage saying 'we are currently experiencing server difficulties, so some orders may have been lost. Please contact us to find out more.'<!--content-->Thanks, that is timely, as I was just sitting here scratching my head trying to figure out what to put up on there. That'll work!<!--content-->The mailer.php script shouldn't require any special permissions. The default will do. But, if they some reason they got changed, set them to 644 for mailer.php. Also, the script does not log anything. It simply collects the information from the form, does some very minimal formatting, and sends the mail out. If no changed took place on your end, the only thing we can assume is that your server administrator must have changed something. There may be issues with mail() if PHP is running in safe mode. I guess the first thing to do would be to ask they server administrator if anything has been changed.<!--content-->Pyro, if you can, attached is the mailer.php and if you see anything, advise. The admin guy said Apache / php is fine on our server.<br />
<br />
I have renamed it .txt so i can upload it.<!--content-->I don't see anything wrong with it. Try Download <!--more-->ing the one from <!-- m --><a class="postlink" href="http://www.webdevfaqs.com/php.php#mailer">http://www.webdevfaqs.com/php.php#mailer</a><!-- m --> and set it up with the demo form. Check if that will work...<!--content-->
 
Back
Top