Solved

Problem with submission and php email

Posted on 2008-06-11
2
263 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

Why Off-Site Backups Are The Only Way To Go

You are probably backing up your data—but how and where? Ransomware is on the rise and there are variants that specifically target backups. Read on to discover why off-site is the way to go.

Question has a verified solution.

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

Originally, this post was published on Monitis Blog, you can check it here . Websites are getting bigger and more complicated by the day. Video, images and custom fonts are all great for showcasing your product or service. But the price to pay in…
This article discusses how to implement server side field validation and display customized error messages to the client.
In this tutorial viewers will learn how to style elements, such a divs, with a "drop shadow" effect using the CSS box-shadow property Start with a normal styled element, such as a div.: In the element's style, type the box shadow property: "box-shad…
In this tutorial viewers will learn how to embed an audio file in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: : The declaration should display (CODE) HTML5 is supported by the most recent versions of all major browsers…

705 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