Solved

Problem with submission and php email

Posted on 2008-06-11
2
258 Views
Last Modified: 2008-06-11
I have a script that sends email - please see bayparkcapital.com/sendInlineEmail.php

The script works in fine when it is posted alone, but when I include it in the home page, fill out the form and submit, I get bayparkcapital.com/received. I am not sure why. I don't have anything in the script that says to do this. Is received default html? Do you have any suggestions on how to get this to work?

right now I am using  <form method="post" action="<?php $_SERVER["PHP_SELF"]?>">

Please help
0
Comment
Question by:derekstattin
2 Comments
 
LVL 19

Accepted Solution

by:
BrianGEFF719 earned 400 total points
Comment Utility
Try doing an echo:

 <form method="post" action="<?php echo $_SERVER["PHP_SELF"]; ?>">
0
 
LVL 40

Assisted Solution

by:RQuadling
RQuadling earned 100 total points
Comment Utility
If you do a view-source on http://bayparkcapital.com/sendInlineEmail.php, you'll see the relevence of BrianGEFF719's comment.

The action is not set.
0

Featured Post

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

Building a website can seem like a daunting task to the uninitiated but it really only requires knowledge of two basic languages: HTML and CSS.
This article demonstrates how to create a simple responsive confirmation dialog with Ok and Cancel buttons using HTML, CSS, jQuery and Promises
In this tutorial viewers will learn how to style a corner ribbon overlay for an image using CSS Create a new class by typing ".Ribbon":  Define the class' "display:" as "inline-block": Define its "position:" as "relative": Define its "overflow:" as …
The viewer will learn the benefit of using external CSS files and the relationship between class and ID selectors. Create your external css file by saving it as style.css then set up your style tags: (CODE) Reference the nav tag and set your prop…

744 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now