Back to Home:
PHP FormMail Generator
I Need Help :
Ask Question Without Registration
PHP Mail Form Questions & Answers
Discussions
Activity
Sign In
Form Customization
I don't want to use iframe. How can I embed the form directly?
admin
October 2011
Permalink
The email form can be included by your own php file. Let's assume you have create a contact.php with your website header and footer. You can insert the highlighted code to your php file :
<?php require_once( dirname(__FILE__).'/form.lib.php' ); ?>
<html>
<head>
</head>
<body>
<div id='header'>
My site header
</div>
<div id="contactForm">
<?php
$GLOBALS['formOnly'] = true;
include('form.php');
?>
</div>
<div id='footer'>
My site fotter
</div>
</body>
</html>
Your contact form will has your own page design and my functional email form.
Add a Comment
Categories
All Discussions
27
File Upload
2
Form Security
3
Form Admin Panel
2
License
0
Form Styles
0
Email Problems
1
Form Customization
18
General
1
Tagged
Powered by Vanilla