running script - mail testing

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
memine
Forum Newbie
Posts: 3
Joined: Thu Jul 21, 2011 8:36 am

running script - mail testing

Post by memine »

good day and thanks in advance

I have a mail script that upon hitting submit button it takes me to the "sendmail.php" file...
I see only the code text
I do not get the mail info or
the "thanks for your interest"

any help is appreciated
Doug G
Forum Contributor
Posts: 282
Joined: Sun Sep 09, 2007 6:27 pm

Re: running script - mail testing

Post by Doug G »

It sounds like your server isn't configured to run php scripts.
User avatar
Benjamin
Site Administrator
Posts: 6935
Joined: Sun May 19, 2002 10:24 pm

Re: running script - mail testing

Post by Benjamin »

:arrow: Moved to PHP - Code
RossDolan
Forum Commoner
Posts: 31
Joined: Tue Jul 19, 2011 5:44 am

Re: running script - mail testing

Post by RossDolan »

I had the same problem, are you trying to run it locally or is the site online? I was using XAMPP to test my website before going live and all of a sudden it would just display the text instead of running the script. For some reason it had stopped linking my files to XAMPP. If you are using a XAMPP or some other form try localhost/website/webpage.php and it should run ok. Hopefully that helps.
Post Reply