Solved

Problem with submission and php email

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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

These days socially coordinated efforts have turned into a critical requirement for enterprises.
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
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 …
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.

821 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