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
Puffin Rock Characters Plush Toy Set
anil1961
Updated:
Saturday at 3:51 PM
Toyota Vitz scp10 For Sale
Lakmal Bandara
Updated:
Wednesday at 10:50 AM
Kandy
Welcome all my all new pet shop Bark.lk
dilumrane
Updated:
Nov 2, 2026
Windows RDP Only Rs.500 a month
Blogerwiki
Updated:
Nov 1, 2026
Ad icon
V2ray VPN for Tunneling
hu KANNA
Updated:
Oct 22, 2026
Electronics
Vehicles
Property
Search
Reply to thread
Forums
General
ElaKiri Talk!
PHP Help ekak one..
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="melanxpress" data-source="post: 14784099" data-attributes="member: 119978"><p><span style="font-size: 18px">මම website එකක Contact Corm එකක් කරා. ඒක Japanese site එකක්. </span></p><p><span style="font-size: 18px">මම PHP දන්නේ නෑ එච්චරම. මම use කරපු PHP form එකේ UNICODE support කරන්නේ නෑ <img src="/styles/default/xenforo/smilies/default/no.gif" class="smilie" loading="lazy" alt=":no:" title="No :no:" data-shortname=":no:" /><img src="/styles/default/xenforo/smilies/default/oo.gif" class="smilie" loading="lazy" alt=":oo:" title="Oo :oo:" data-shortname=":oo:" /><img src="/styles/default/xenforo/smilies/default/no.gif" class="smilie" loading="lazy" alt=":no:" title="No :no:" data-shortname=":no:" /><img src="/styles/default/xenforo/smilies/default/no.gif" class="smilie" loading="lazy" alt=":no:" title="No :no:" data-shortname=":no:" /></span></p><p> <span style="font-size: 18px">ඒ site එකට Japanese type support කරන්නේ නෑ.</span></p><p><span style="font-size: 18px"></span></p><p><span style="font-size: 18px">මේක තම මම use කරපු PHP form එක.</span></p><p><span style="font-size: 18px">මේක හදාගන්න විදියක් කියන්න පුලුවන්ද <img src="/styles/default/xenforo/smilies/default/happy.gif" class="smilie" loading="lazy" alt=":)" title="Happy :)" data-shortname=":)" /></span></p><p></p><p></p><p><span style="font-size: 10px"></span></p><p><span style="font-size: 10px">[CODE][COLOR="red"]<?php[/COLOR]</span></p><p><span style="font-size: 10px"> $name=htmlentities($_POST['name']);</span></p><p><span style="font-size: 10px"> $email=htmlentities($_POST['email']);</span></p><p><span style="font-size: 10px"> $phone=htmlentities($_POST['phone']);</span></p><p><span style="font-size: 10px"> $message=htmlentities($_POST['message']);</span></p><p> <span style="font-size: 10px"></span></p><p><span style="font-size: 10px"> </span></p><p><span style="font-size: 10px"></span></p><p> <span style="font-size: 10px">// you can specify which email you want your contact form to be emailed to here</span></p><p><span style="font-size: 10px"></span></p><p><span style="font-size: 10px"> $toemail = [COLOR="red"]"designnine.melan@gmail.com";[/COLOR]</span></p><p><span style="font-size: 10px"> $subject = [COLOR="red"]"Ana Enterprises - Contact Form";[/COLOR]</span></p><p><span style="font-size: 10px"></span></p><p><span style="font-size: 10px"> $headers =[COLOR="Red"] "MIME-Version: 1.0\n"[/COLOR]</span></p><p><span style="font-size: 10px"> [COLOR="red"]."From: \"".$name."\" <".$email.">\n"[/COLOR]</span></p><p><span style="font-size: 10px"> [COLOR="red"]."Content-type: text/html; charset=iso-8859-1\n"[/COLOR];</span></p><p><span style="font-size: 10px"></span></p><p><span style="font-size: 10px">[COLOR="rgb(0, 191, 255)"]$body = [/COLOR]</span></p><p><span style="font-size: 10px"> </span></p><p><span style="font-size: 10px"> </span></p><p><span style="font-size: 10px"> [COLOR="Red"]"Name: [/COLOR]".$name."<br>\n"</span></p><p><span style="font-size: 10px"> [COLOR="red"]."Email:[/COLOR] ".$email."<br>\n"</span></p><p><span style="font-size: 10px"> [COLOR="red"]."Phone: [/COLOR]".$phone."<br>\n"</span></p><p><span style="font-size: 10px"> [COLOR="red"]."Message[/COLOR]: ".$message."<br>\n";</span></p><p><span style="font-size: 10px"> </span></p><p><span style="font-size: 10px"></span></p><p><span style="font-size: 10px"> </span></p><p><span style="font-size: 10px"></span></p><p><span style="font-size: 10px"> [COLOR="Blue"]mail[/COLOR]($toemail, $subject, $body, $headers);</span></p><p><span style="font-size: 10px"> [COLOR="YellowGreen"]echo[/COLOR] "<script type='text/javascript'></span></p><p><span style="font-size: 10px"><!--</span></p><p><span style="font-size: 10px">window.location = 'thankyou.html'</span></p><p><span style="font-size: 10px">//--></span></p><p><span style="font-size: 10px"></script>";</span></p><p><span style="font-size: 10px"></span></p><p><span style="font-size: 10px">[COLOR="red"]?>[/COLOR]</span></p><p><span style="font-size: 10px"></body></span></p><p><span style="font-size: 10px"></html>[/CODE]</span></p></blockquote><p></p>
[QUOTE="melanxpress, post: 14784099, member: 119978"] [SIZE="5"]මම website එකක Contact Corm එකක් කරා. ඒක Japanese site එකක්. මම PHP දන්නේ නෑ එච්චරම. මම use කරපු PHP form එකේ UNICODE support කරන්නේ නෑ :no::oo::no::no: ඒ site එකට Japanese type support කරන්නේ නෑ. මේක තම මම use කරපු PHP form එක. මේක හදාගන්න විදියක් කියන්න පුලුවන්ද :)[/SIZE] [SIZE="2"] [CODE][COLOR="red"]<?php[/COLOR] $name=htmlentities($_POST['name']); $email=htmlentities($_POST['email']); $phone=htmlentities($_POST['phone']); $message=htmlentities($_POST['message']); // you can specify which email you want your contact form to be emailed to here $toemail = [COLOR="red"]"designnine.melan@gmail.com";[/COLOR] $subject = [COLOR="red"]"Ana Enterprises - Contact Form";[/COLOR] $headers =[COLOR="Red"] "MIME-Version: 1.0\n"[/COLOR] [COLOR="red"]."From: \"".$name."\" <".$email.">\n"[/COLOR] [COLOR="red"]."Content-type: text/html; charset=iso-8859-1\n"[/COLOR]; [COLOR="rgb(0, 191, 255)"]$body = [/COLOR] [COLOR="Red"]"Name: [/COLOR]".$name."<br>\n" [COLOR="red"]."Email:[/COLOR] ".$email."<br>\n" [COLOR="red"]."Phone: [/COLOR]".$phone."<br>\n" [COLOR="red"]."Message[/COLOR]: ".$message."<br>\n"; [COLOR="Blue"]mail[/COLOR]($toemail, $subject, $body, $headers); [COLOR="YellowGreen"]echo[/COLOR] "<script type='text/javascript'> <!-- window.location = 'thankyou.html' //--> </script>"; [COLOR="red"]?>[/COLOR] </body> </html>[/CODE][/SIZE] [/QUOTE]
Insert quotes…
Verification
Dawasata paya keeyak thibeda?
Post reply
Top
Bottom