Hi
I am very new to php and xampp. I am practicing php feedback forms and all was fine until now.
I have argosoft free mail server installed to check that my feedback forms send me an email correctly and they do.
What I have been doing was testing for example "Feedback.html" with a script called "Sendmail.php" so 2 separate files and always get them to work under xampp.
I found a new tutorial and at one point the author says to place both files (The .html and the .php) together as one.
So I did and placed in my xampp htdocs folder but it doesn't run under http://localhost.
What happens is upon clicking "Submit" on the form I am being sent to the xampp homepage http://localhost/xampp instead of seeing the message that the form has been submitted.
I also check my argosoft email and nothing is in the inbox.
You can download the code here:
http://www.stefashwell.com/tutorials/entry/5/
Page 1 and 2 of the tutorial run fine as separated files but not together as one .php file found on page 3 of the tutorial.
(Scroll all the way down of page 3 of tutorial to download the code.)
I appreciate the help
Thanks a lot
Patrick