PDA

View Full Version : PHP Form Email Help


mkolom
12-22-2006, 06:18 AM
Hello -
I am in the process of transfering my site from another host (they are miserable):mad: to BH. Everything works OK except for my quick email form which is PHP. I am no web programmer by any means, but can read the html code with some understanding. Below is the current code, what do I need to change/ configure with BH to get this to work. Thanks in advance from a rookie.

<form name="formmailer" action="http://cherryone.com/php/formmail.php" method="POST">
<input type="hidden" name="subject" value="Advanced Laser Information Quick Form Response">
<input type="hidden" name="recipient" value="info@advancedlaserchicago.com">
<input type="hidden" name="redirect" value="http://www.advancedlaserchicago.com/confirmation.html">
<input type="hidden" name="required" value="Name,email">
<tr>
<td colspan="2"><p align="center" class="subheader_01"><strong>Have a question? <br>
Contact Us:</strong><a href="mailto:info@advancedlaserchicago.com"><br>
<br>
</a></p></td>
</tr>
<tr>
<td width="68">Name</td>
<td width="179"><input name="Name" type="text" class="body" value="" size="20"></td>
</tr>
<tr>
<td>E-Mail</td>
<td><input name="email" type="text" class="body" value="" size="20"></td>
</tr>
<tr>
<td>Phone</td>
<td><input name="phone" type="text" class="body" value="" size="20"></td>
</tr>
<tr>
<td>Comments</td>
<td><textarea name="comments" cols="18" rows="5" class="body"></textarea></td>
</tr>
<tr>
<td>&nbsp;</td>
<td><p>
<input name="submit" type="submit" class="body" value="Submit">
</p></td>
</tr>
</form>

felgall
12-22-2006, 11:57 AM
The only thing you might need to change in that code is the reference to http://cherryone.com/php/formmail.php

It all depends on whether that script is a part of your site that you have copied to the new hosting or whether it was supplied by the old hosting provider. Either you need a replacement for it or there may be one or two options in it that need to be configured differently depending on which mail sending program that the different hosting uses.

mkolom
12-23-2006, 07:51 AM
Thanks for your response, I thought that might be the issue. I am getting rid of cherryone, so that must be so sort of script that they have. Are you a consultant? I checked out your web site, it appears that you are. If so, would you be interested in 'fixing' that php form? I am the business owner, not the developer of the site. If you let me know your hourly rate or a flat fee for making it work, I would be happy to pay you. Thanks and let me know.