Solved

Problem with submission and php email

Posted on 2008-06-11
2
261 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 19

Accepted Solution

by:
BrianGEFF719 earned 400 total points
ID: 21764226
Try doing an echo:

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

Assisted Solution

by:Richard Quadling
Richard Quadling earned 100 total points
ID: 21764426
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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article discusses four methods for overlaying images in a container on a web page
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
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…
The viewer will the learn the benefit of plain text editors and code an HTML5 based template for use in further tutorials.

763 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