Jump to content

form mail php (how to change how it opens in browser)


elgordo1960

Recommended Posts

Use this

 

<a href="window.open('http://www.deborahpollington.com/ini/contactform.php',
'contactfrm','location=1,status=1,scrollbars=1,
width=100,height=100'); >Click Here</a>

 

 

 

Thanks for the reply,

 

can you tell me where to insert the code please?

 

here is the code:

 

<?php include_once( "20071001-6248.lib.php" ); ?>

<html>

<head>

<title>PHP FormMail Generator - A tool to create ready-to-use web forms in a flash | Demo Template</title>

<!--

<meta http-equiv="Content-type" content="text/html; charset=iso-8859-1">

-->

<meta name="keywords" content="PHP FormMail Generator, phpFormMailGen, Customize Forms, phpFormMailGenerator,formmail.php, formmail.pl, formMail Generator, PHP, Generator, Backend Tool, phpFormGen, phpFormGenerator, anti-spam, web hosting">

<meta name="description" content="PHP formMail Generator - A tool to ceate ready-to-use web forms in a flash">

<style type='text/css'>

.form_title{

color : #000000;

font-size: 13px;

font-family: verdana, Geneva, Arial, Helvetica, sans-serif;

font-weight : bold;

}

 

.form_field {

font-size : 13px;

font-family : Verdana, Arial, Helvetica, sans-serif;

color : #474747;

font-weight : bold;

text-align:left;

}

 

.form_text{

font-size : 11px;

font-family : Verdana, Arial, Helvetica, sans-serif;

color : #000000;

}

 

.text_box{

font-size : 11px;

font-family : Verdana, Arial, Helvetica, sans-serif;

color : #000000;

width:200px;

}

 

.text_area{

font-size : 11px;

font-family : Verdana, Arial, Helvetica, sans-serif;

color : #000000;

width:200px;

height:60px;

}

 

.text_select{

font-size : 11px;

font-family : Verdana, Arial, Helvetica, sans-serif;

color : #000000;

}

 

.form_error{

font-size : 11px;

font-family : Verdana, Arial, Helvetica, sans-serif;

color : #ff0000;

font-weight : bold;

}

 

.copyright{

font-size : 11px;

font-family : Verdana, Arial, Helvetica, sans-serif;

color : #000000;

}

 

.style1 {color: #006600}

    .style2 {font-size: 13px; font-family: Verdana, Arial, Helvetica, sans-serif; color: #006600; font-weight: bold; text-align: left; }

    </style>

</head>

 

<body  marginheight="0" marginwidth="0" leftmargin="0" topmargin="0">

 

 

 

 

<meta http-equiv="content-type" content="text/html; charset=">

 

 

<!-- ------------------------ Begin: Your FormMail's Description  ------------------------ -->

 

<br><br><br>

<table width="100%" border='0' align='center' cellpadding='0' cellspacing='16' ><!--DWLayoutTable--><tr><td width="100%">

 

<font class='form_title style1'>Contact Deborah</font>

 

</td>

</tr></table>

 

<!-- ------------------------ End: Your FormMail's Description  ------------------------ -->

 

 

 

 

 

<!-- =======================  Begin: Form Generated By PHP FormMail Generator ======================= -->

 

 

 

<?php

if( !$isHideForm ):

global $sErr ;

if( $sErr ) print "<br><a name='error'></a><center><font class='form_error' >$sErr</font></center><br>";

 

$starColor = $sErr ? "#ff0000" : "#000000";

$style=" class='form_text' ";

?>

 

<form name="frmFormMail" action="<?php print PHP_SELF ?>" method='post' enctype='multipart/form-data'>

<input type='hidden' name='formmail_submit' value='Y'>

<input type='hidden' name='esh_formmail_recipient' value="deborah@deborahpollington.com">

<input type='hidden' name='esh_formmail_subject' value="Photos">

<input type='hidden' name='esh_formmail_cc' value="">

<input type='hidden' name='esh_formmail_bcc' value="">

<input type='hidden' name='esh_formmail_return_subject' value="">

<input type='hidden' name='esh_formmail_return_msg' value="">

<input type='hidden' name='esh_formmail_mail_and_file' value="">

<input type='hidden' name='esh_formmail_charset' value="">

 

<table border='0' cellpadding='0' cellspacing='16' bgcolor="#CCF4C1"  >

<tr>

<td align='right' valign='top' class="style2">Your email address </td>

<td width='10'  aligh='right' valign='top'></td>

<td class="form_text">

<input type="sender's email" name="Your_email_address"  value="<?php  print HtmlSpecialChars( $HTTP_POST_VARS[ "Your_email_address" ] ); ?>" class='text_box'>

</td>

</tr>

 

<tr>

<td align='right' valign='top' class="style2">Your Message Here </td>

<td width='10'  aligh='right' valign='top'></td>

<td class="form_text">

<textarea name="Your_Message_Here" rows=4 cols=25 ><?php  print HtmlSpecialChars( $HTTP_POST_VARS[ "Your_Message_Here" ] ); ?></textarea>

 

</td>

</tr>

 

 

<tr><td colspan=3 align='center'><input type='submit' value='Submit'>    <input type='button' value='Cancel' onClick="location.href='/';"></td></tr>

</table>

 

 

</form>

 

 

 

 

<!-- =======================  End:  ======================= -->

 

 

 

<?php

if( $sErr ) print "<script language='javascript' type='text/javascript'>location.href='#error';</script>";;;

 

else: //!$isHideForm

print( "<br><br><hr><center><b>Your email has been sent. Thank you.</b><br><br><input type='button' value='Home' onclick=\"location.href='/';\"></center><br><br>" );

endif; //!$isHideForm

?>

<!-- -------------------------------------- COPY RIGHT -------------------------------------- -->

 

<br><br>

<br>

<br><br>

</body>

</html>

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.