Search
Search titles only
By:
Search titles only
By:
Log in
Register
Search
Search titles only
By:
Search titles only
By:
Menu
Install the app
Install
Forums
New posts
All threads
Latest threads
New posts
Trending threads
Trending
Search forums
What's new
New posts
New ads
New profile posts
Latest activity
Free Ads
Latest reviews
Search ads
Members
Current visitors
New profile posts
Search profile posts
Contact us
Latest ads
Pure VPN - Up to 27 Months
vgp
Updated:
Today at 8:10 AM
එක පැකේජ් එකයි මාසෙටම Unlimited Internet. තාමත් DATA CARD දාන්න සල්ලි වියදම් කරනවද? අඩුම මිලට අපෙන්.
sayuru bandara
Updated:
Tuesday at 12:30 PM
Ad icon
ඉන්ටර්නෙට් එකෙන් හරියටම සල්ලි හොයන්න සහ Success වෙන්න කැමතිද? 🚀 (E-Money & Success Stories)
siri sumana
Updated:
Saturday at 11:44 PM
Gemini AI PRO 18 months Offer
Hawaka
Updated:
May 27, 2026
Ad icon
koko account
DasunEranga
Updated:
May 27, 2026
Electronics
Vehicles
Property
Search
Reply to thread
Forums
Computers & Internet
Software Development
Script needed plz
Get the App
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Message
<blockquote data-quote="MaD-DoC" data-source="post: 4127107" data-attributes="member: 56284"><p><strong>E-mail Form Code (contact.php)</strong></p><p></p><p> [HTML]<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"></p><p></p><p><html></p><p><head></p><p><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /></p><p><title>Email Form </title></p><p></head></p><p><body></p><p></p><p> <form method="post" action="sendeail.php"></p><p></p><p><!-- DO NOT change ANY of the php sections --></p><p><?php</p><p>$ipi = getenv("REMOTE_ADDR");</p><p>$httprefi = getenv ("HTTP_REFERER");</p><p>$httpagenti = getenv ("HTTP_USER_AGENT");</p><p>?></p><p></p><p><input type="hidden" name="ip" value="<?php echo $ipi ?>" /></p><p><input type="hidden" name="httpref" value="<?php echo $httprefi ?>" /></p><p><input type="hidden" name="httpagent" value="<?php echo $httpagenti ?>" /></p><p></p><p></p><p>Your Name: <br /></p><p> <input type="text" name="visitor" size="35" /></p><p><br /></p><p>Your Email:<br /></p><p><input type="text" name="visitormail" size="35" /></p><p> <br /> <br /></p><p> <br /></p><p>Attention:<br /></p><p><select name="attn" size="1"></p><p><option value=" Sales n Billing ">Sales n Billing </option> </p><p><option value=" General Support ">General Support </option> </p><p><option value=" Technical Support ">Technical Support </option> </p><p><option value=" Webmaster ">Webmaster </option> </p><p></select></p><p><br /><br /></p><p>Mail Message:</p><p><br /></p><p><textarea name="notes" rows="4" cols="40"></textarea></p><p><br /></p><p><input type="submit" value="Send Mail" /></p><p><br /></p><p>Free Code at: <a href="http://www.ibdhost.com/contact/">ibdhost.com/contact/</a></p><p> </form></p><p> </p><p></body></p><p></html>[/HTML]</p><p></p><p> </p><p><strong>Code for sendeail.php</strong></p><p></p><p> [HTML]<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> </p><p></p><p><html></p><p><head></p><p><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> </p><p><title>Sendemail Script</title></p><p></head></p><p><body></p><p></p><p> <!-- Reminder: Add the link for the 'next page' (at the bottom) --> </p><p><!-- Reminder: Change 'YourEmail' to Your real email --> </p><p></p><p><?php</p><p></p><p>$ip = $_POST['ip']; </p><p>$httpref = $_POST['httpref']; </p><p>$httpagent = $_POST['httpagent']; </p><p>$visitor = $_POST['visitor']; </p><p>$visitormail = $_POST['visitormail']; </p><p>$notes = $_POST['notes'];</p><p>$attn = $_POST['attn'];</p><p> </p><p> </p><p>if (eregi('http:', $notes)) {</p><p> die ("Do NOT try that! ! ");</p><p>}</p><p> if(!$visitormail == "" && (!strstr($visitormail,"@") || !strstr($visitormail,"."))) </p><p> {</p><p> echo "<h2>Use Back - Enter valid e-mail</h2>\n"; </p><p>$badinput = "<h2>Feedback was NOT submitted</h2>\n";</p><p>echo $badinput;</p><p>die ("Go back! ! ");</p><p>}</p><p></p><p>if(empty($visitor) || empty($visitormail) || empty($notes )) {</p><p>echo "<h2>Use Back - fill in all fields</h2>\n";</p><p>die ("Use back! ! "); </p><p> }</p><p> </p><p>$todayis = date("l, F j, Y, g:i a") ;</p><p></p><p> $attn = $attn ; </p><p>$subject = $attn; </p><p> </p><p> $notes = stripcslashes($notes); </p><p></p><p> $message = " $todayis [EST] \n</p><p>Attention: $attn \n</p><p>Message: $notes \n </p><p>From: $visitor ($visitormail)\n</p><p>Additional Info : IP = $ip \n</p><p>Browser Info: $httpagent \n</p><p>Referral : $httpref \n</p><p>";</p><p></p><p> $from = "From: $visitormail\r\n";</p><p></p><p> </p><p> mail("YourEmail", $subject, $message, $from);</p><p></p><p> ?></p><p> </p><p><p align="center"></p><p>Date: <?php echo $todayis ?> </p><p><br /></p><p>Thank You : <?php echo $visitor ?> ( <?php echo $visitormail ?> ) </p><p><br /></p><p> </p><p>Attention: <?php echo $attn ?></p><p><br /> </p><p>Message:<br /> </p><p><?php $notesout = str_replace("\r", "<br/>", $notes); </p><p>echo $notesout; ?> </p><p><br /></p><p><?php echo $ip ?> </p><p></p><p><br /><br /></p><p><a href="contact.php"> Next Page </a> </p><p></p> </p><p></p><p></body></p><p></html>[/HTML]</p></blockquote><p></p>
[QUOTE="MaD-DoC, post: 4127107, member: 56284"] [B]E-mail Form Code (contact.php)[/B] [HTML]<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Email Form </title> </head> <body> <form method="post" action="sendeail.php"> <!-- DO NOT change ANY of the php sections --> <?php $ipi = getenv("REMOTE_ADDR"); $httprefi = getenv ("HTTP_REFERER"); $httpagenti = getenv ("HTTP_USER_AGENT"); ?> <input type="hidden" name="ip" value="<?php echo $ipi ?>" /> <input type="hidden" name="httpref" value="<?php echo $httprefi ?>" /> <input type="hidden" name="httpagent" value="<?php echo $httpagenti ?>" /> Your Name: <br /> <input type="text" name="visitor" size="35" /> <br /> Your Email:<br /> <input type="text" name="visitormail" size="35" /> <br /> <br /> <br /> Attention:<br /> <select name="attn" size="1"> <option value=" Sales n Billing ">Sales n Billing </option> <option value=" General Support ">General Support </option> <option value=" Technical Support ">Technical Support </option> <option value=" Webmaster ">Webmaster </option> </select> <br /><br /> Mail Message: <br /> <textarea name="notes" rows="4" cols="40"></textarea> <br /> <input type="submit" value="Send Mail" /> <br /> Free Code at: <a href="http://www.ibdhost.com/contact/">ibdhost.com/contact/</a> </form> </body> </html>[/HTML] [B]Code for sendeail.php[/B] [HTML]<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Sendemail Script</title> </head> <body> <!-- Reminder: Add the link for the 'next page' (at the bottom) --> <!-- Reminder: Change 'YourEmail' to Your real email --> <?php $ip = $_POST['ip']; $httpref = $_POST['httpref']; $httpagent = $_POST['httpagent']; $visitor = $_POST['visitor']; $visitormail = $_POST['visitormail']; $notes = $_POST['notes']; $attn = $_POST['attn']; if (eregi('http:', $notes)) { die ("Do NOT try that! ! "); } if(!$visitormail == "" && (!strstr($visitormail,"@") || !strstr($visitormail,"."))) { echo "<h2>Use Back - Enter valid e-mail</h2>\n"; $badinput = "<h2>Feedback was NOT submitted</h2>\n"; echo $badinput; die ("Go back! ! "); } if(empty($visitor) || empty($visitormail) || empty($notes )) { echo "<h2>Use Back - fill in all fields</h2>\n"; die ("Use back! ! "); } $todayis = date("l, F j, Y, g:i a") ; $attn = $attn ; $subject = $attn; $notes = stripcslashes($notes); $message = " $todayis [EST] \n Attention: $attn \n Message: $notes \n From: $visitor ($visitormail)\n Additional Info : IP = $ip \n Browser Info: $httpagent \n Referral : $httpref \n "; $from = "From: $visitormail\r\n"; mail("YourEmail", $subject, $message, $from); ?> <p align="center"> Date: <?php echo $todayis ?> <br /> Thank You : <?php echo $visitor ?> ( <?php echo $visitormail ?> ) <br /> Attention: <?php echo $attn ?> <br /> Message:<br /> <?php $notesout = str_replace("\r", "<br/>", $notes); echo $notesout; ?> <br /> <?php echo $ip ?> <br /><br /> <a href="contact.php"> Next Page </a> </p> </body> </html>[/HTML] [/QUOTE]
Insert quotes…
Verification
Dahaya deken beduwama keeyada?
Post reply
Top
Bottom