• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 271
  • Last Modified:

Problem with submission and php email

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
derekstattin
Asked:
derekstattin
2 Solutions
 
BrianGEFF719Commented:
Try doing an echo:

 <form method="post" action="<?php echo $_SERVER["PHP_SELF"]; ?>">
0
 
Richard QuadlingSenior Software DeverloperCommented:
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

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now