{"id":6123,"date":"2015-02-07T19:24:50","date_gmt":"2015-02-08T00:24:50","guid":{"rendered":"http:\/\/bangla.salearningschool.com\/?p=6123"},"modified":"2015-07-08T05:49:01","modified_gmt":"2015-07-08T09:49:01","slug":"%e0%a6%aa%e0%a6%bf-%e0%a6%8f%e0%a6%87%e0%a6%9a-%e0%a6%aa%e0%a6%bf-%e0%a7%ab-%e0%a6%ab%e0%a6%b0%e0%a7%8d%e0%a6%ae-%e0%a6%ad%e0%a7%87%e0%a6%b2%e0%a6%bf%e0%a6%a1%e0%a7%87%e0%a6%b6%e0%a6%a8-php-5-form-va","status":"publish","type":"post","link":"http:\/\/bangla.sitestree.com\/?p=6123","title":{"rendered":"\u09aa\u09bf\u098f\u0987\u099a\u09aa\u09bf \u09eb \u09ab\u09b0\u09cd\u09ae \u09ad\u09c7\u09b2\u09bf\u09a1\u09c7\u09b6\u09a8 (PHP 5 Form Validation)"},"content":{"rendered":"<p>\u0995\u09bf\u09ad\u09be\u09ac\u09c7 \u09ab\u09b0\u09cd\u09ae \u0995\u09c7 validate \u0995\u09b0\u09a4\u09c7 \u09b9\u09df \u09a4\u09be \u0986\u09ae\u09b0\u09be \u098f\u0995 \u098f\u0995 \u0995\u09b0\u09c7 \u0995\u09cb\u09a1 \u098f\u09b0 \u09ae\u09be\u09a7\u09cd\u09af\u09ae\u09c7 \u09a6\u09c7\u0996\u09ac \u098f\u09ac\u0982 \u09a4\u09be\u09b0 \u09ac\u09b0\u09cd\u09a3\u09a8\u09be \u09a6\u09c7\u0996\u09ac<\/p>\n<h2>\u099f\u09c7\u0995\u09cd\u09b8\u099f \u09ab\u09bf\u09b2\u09cd\u09a1\u09c7\u09b0 \u098f\u09b0 \u098f\u0987\u099a\u099f\u09bf\u098f\u09ae\u098f\u09b2 \u09ab\u09b0\u09cd\u09ae<\/h2>\n<hr \/>\n<p>Name: <input name=\"name\" type=\"text\" \/><\/p>\n<p>E-mail: <input name=\"email\" type=\"text\" \/><\/p>\n<p>Website: <input name=\"website\" type=\"text\" \/><\/p>\n<p>Comment: <textarea cols=\"40\" name=\"comment\" rows=\"5\"><\/textarea><\/p>\n<p>Gender:<\/p>\n<p><input name=\"gender\" type=\"radio\" value=\"female\" \/>Female<br \/>\n<input name=\"gender\" type=\"radio\" value=\"male\" \/>Male<\/p>\n<p>&nbsp;<\/p>\n<p><input name=\"submit\" type=\"Button\" value=\"Submit\" \/><\/p>\n<hr \/>\n<p>&nbsp;<\/p>\n<form action=\"test_form.php\" method=\"post\">\u099f\u09c7\u0995\u09cd\u09b8\u099f \u09ab\u09bf\u09b2\u09cd\u09a1\u09c7\u09b0 \u098f\u09b0 \u098f\u0987\u099a\u099f\u09bf\u098f\u09ae\u098f\u09b2 \u09ab\u09b0\u09cd\u09ae :<br \/>\nName: &lt;input type=&#8221;text&#8221; name=&#8221;name&#8221;&gt;<br \/>\nE-mail: &lt;input type=&#8221;text&#8221; name=&#8221;email&#8221;&gt;<br \/>\nWebsite: &lt;input type=&#8221;text&#8221; name=&#8221;website&#8221;&gt;<br \/>\nComment: &lt;textarea name=&#8221;comment&#8221; rows=&#8221;5&#8243; cols=&#8221;40&#8243;&gt;\u09b0\u09c7\u09a1\u09bf\u0993 \u09ac\u09be\u099f\u09a8 \u09ac\u09cd\u09af\u09ac\u09b9\u09be\u09b0 \u0995\u09b0\u09c7 \u098f\u09b0 \u09aa\u09b0\u09ac\u09b0\u09cd\u09a4\u09c0 \u0985\u0982\u09b6 :<\/p>\n<p>Gender:<br \/>\n&lt;input type=&#8221;radio&#8221; name=&#8221;gender&#8221; value=&#8221;female&#8221;&gt;Female<br \/>\n&lt;input type=&#8221;radio&#8221; name=&#8221;gender&#8221; value=&#8221;male&#8221;&gt;Male<\/p>\n<h2>\u09ab\u09b0\u09cd\u09ae\u09c7\u09b0 \u098f\u09b0 \u09b6\u09c1\u09b0\u09c1\u09a4\u09c7 \u09aa\u09cb\u09b8\u09cd\u099f \u0995\u09b0\u09be\u09b0 element<\/h2>\n<hr \/>\n<pre>&lt;form method=\"post\" action=\"&lt;?php echo htmlspecialchars($_SERVER[\"PHP_SELF\"]);?&gt;\"&gt;<\/pre>\n<hr \/>\n<p>&nbsp;<\/p>\n<p>\u09af\u0996\u09a8 \u09ab\u09b0\u09cd\u09ae \u09b8\u09be\u09ac\u09ae\u09bf\u099f \u0995\u09b0\u09be \u09b9\u09df \u09a4\u0996\u09a8 \u09aa\u09cb\u09b8\u09cd\u099f \u09ae\u09c7\u09a5\u09a1 \u098f\u09b0 \u09ae\u09be\u09a7\u09cd\u09af\u09ae\u09c7 \u09a1\u09be\u099f\u09be \u09b8\u09c7\u09a8\u09cd\u09a1 \u0995\u09b0\u09be \u09b9\u09df<\/p>\n<p>\u09ab\u09b0\u09cd\u09ae\u09c7 \u0986\u09ae\u09b0\u09be \u09ac\u09cd\u09af\u09ac\u09b9\u09be\u09b0 \u0995\u09b0\u09c7\u099b\u09bf $_SERVER[&#8220;PHP_SELF&#8221;] \u09af\u09be\u09b0 \u0985\u09b0\u09cd\u09a5 \u098f\u0987 \u0995\u09cb\u09a1 \u09ac\u09cd\u09af\u09ac\u09b9\u09be\u09b0 \u0995\u09b0\u09be\u09b0 \u09ab\u09b2\u09c7 \u09b8\u09be\u09ac\u09ae\u09bf\u099f \u0995\u09b0\u09be \u09a1\u09be\u099f\u09be \u0985\u09a8\u09cd\u09af \u0995\u09cb\u09a8 \u09aa\u09c7\u099c \u098f \u09a8\u09be \u0997\u09bf\u09df\u09c7 \u098f\u0987 \u09aa\u09c7\u099c \u098f\u0987 \u09aa\u09cb\u09b8\u09cd\u099f \u09b9\u09ac\u09c7 \u098f\u09ac\u0982 \u098f\u09b0\u09b0 \u09ae\u09c7\u09b8\u09c7\u099c \u09a6\u09c7\u0996\u09be\u09ac\u09c7\u0964<\/p>\n<p>htmlspecialchars() \u09ab\u09be\u0982\u09b6\u09a8 \u098f\u0987\u099a\u099f\u09bf\u098f\u09ae\u098f\u09b2 \u098f\u09b0 special characters \u0997\u09c1\u09b2\u09cb \u0995\u09c7 \u098f\u0987\u099a\u099f\u09bf\u098f\u09ae\u098f\u09b2 entities \u098f \u09aa\u09b0\u09bf\u09ac\u09b0\u09cd\u09a4\u09a8 \u0995\u09b0\u09c7 \u09a5\u09be\u0995\u09c7\u0964<\/p>\n<p>&nbsp;<\/p>\n<h2>PHP \u09a8\u09bf\u09b0\u09be\u09aa\u09a4\u09cd\u09a4\u09be<\/h2>\n<p>$_SERVER[&#8220;PHP_SELF&#8221;] variable \u09b9\u09cd\u09af\u09be\u0995\u09be\u09b0 \u09b0\u09be \u09ac\u09cd\u09af\u09ac\u09b9\u09be\u09b0 \u0995\u09b0\u09c7 \u09a5\u09be\u0995\u09c7<\/p>\n<p>\u09af\u09a6\u09bf \u09aa\u09c7\u099c \u098f \u098f\u0987 \u09ab\u09be\u0982\u09b6\u09a8 \u09ac\u09cd\u09af\u09ac\u09b9\u09be\u09b0 \u0995\u09b0\u09be \u09b9\u09df\u09c7 \u09a5\u09be\u0995\u09c7 \u09a4\u0996\u09a8 \u0995\u09cb\u09a8 \u0987\u0989\u099c\u09be\u09b0 slash(\/) \u099a\u09bf\u09b9\u09cd\u09a8 \u09ac\u09cd\u09af\u09ac\u09b9\u09be\u09b0 \u0995\u09b0\u09a4\u09c7 \u09aa\u09be\u09b0\u09c7 \u09a4\u0996\u09a8 \u0995\u09bf\u099b\u09c1 \u0995\u09cd\u09b0\u09b8 \u09b8\u09be\u0987\u099f scripting (XSS) \u0997\u09a8\u09a8\u09be \u09b9\u09a4\u09c7 \u09aa\u09be\u09b0\u09c7\u0964<\/p>\n<p>\u09ae\u09a8\u09c7 \u0995\u09b0\u09bf \u0986\u09ae\u09be\u09a6\u09c7\u09b0 \u098f\u0987 \u09ab\u09b0\u09cd\u09ae\u099f\u09bf &#8220;test_form.php&#8221;\u09a8\u09be\u09ae\u09c7 \u0986\u099b\u09c7\u0964<\/p>\n<hr \/>\n<pre>&lt;form method=\"post\" action=\"&lt;?php echo $_SERVER[\"PHP_SELF\"];?&gt;\"&gt;<\/pre>\n<hr \/>\n<p>&nbsp;<\/p>\n<p>\u09af\u09a6\u09bf \u0995\u09cb\u09a8 \u0987\u0989\u099c\u09be\u09b0 \u098f\u09a1\u09cd\u09b0\u09c7\u09b8 \u09ac\u09be\u09b0\u09c7 \u09b2\u09bf\u0996\u09c7 http:\/\/www.example.com\/test_form.php \u09a4\u09be\u09b9\u09b2\u09c7 \u09b8\u09c7\u099f\u09be \u09b0\u09bf\u09a1 \u0995\u09b0\u09ac\u09c7<\/p>\n<hr \/>\n<pre>&lt;form method=\"post\" action=\"test_form.php\"&gt;<\/pre>\n<hr \/>\n<p>&nbsp;<\/p>\n<p>\u09af\u09a6\u09bf \u0995\u09cb\u09a8 \u0987\u0989\u099c\u09be\u09b0 \u098f\u09a1\u09cd\u09b0\u09c7\u09b8 \u09ac\u09be\u09b0\u09c7 \u09b2\u09bf\u0996\u09c7<\/p>\n<hr \/>\n<p>http:\/\/www.example.com\/test_form.php\/%22%3E%3Cscript%3Ealert(&#8216;hacked&#8217;)%3C\/script%3E<\/p>\n<hr \/>\n<p>&nbsp;<\/p>\n<p>\u09a4\u09be\u09b9\u09b2\u09c7 \u09b0\u09bf\u09a1 \u0995\u09b0\u09ac\u09c7<\/p>\n<hr \/>\n<pre>&lt;form method=\"post\" action=\"test_form.php\/\"&gt;&lt;script&gt;alert('hacked')&lt;\/script&gt;<\/pre>\n<hr \/>\n<p>&nbsp;<\/p>\n<\/form>\n<form action=\"test_form.php\/\" method=\"post\"><script>\/\/ < ![CDATA[\n\/\/ < ![CDATA[\n\/\/ < ![CDATA[\n\/\/ < ![CDATA[\n\/\/ < ![CDATA[ alert('hacked')\n\/\/ ]]><\/script>\u09af\u0996\u09a8 \u09aa\u09c7\u099c \u09b2\u09cb\u09a1 \u09b9\u09ac\u09c7 \u0987\u09df\u0996\u09a8 javascript \u0995\u09cb\u09a1 \u0997\u09a3\u09a8\u09be \u09b9\u09ac\u09c7\u0964 \u09b8\u09c1\u09a4\u09b0\u09be\u0982 \u0986\u09ae\u09be\u09a6\u09c7\u09b0 \u098f\u0987\u0996\u09be\u09a8\u09c7 \u09b8\u09a4\u09b0\u09cd\u0995 \u09a5\u09be\u0995\u09a4\u09c7 \u09b9\u09ac\u09c7 \u09af\u09c7 \u098f\u0995\u099c\u09a8 \u09b9\u09cd\u09af\u09be\u0995\u09be\u09b0 \u0995\u09cb\u09a8 \u0987\u0989\u099c\u09be\u09b0 \u0995\u09c7 \u0985\u09a8\u09cd\u09af \u0995\u09cb\u09a8 \u09b8\u09be\u09b0\u09cd\u09ad\u09be\u09b0\u09c7 \u09a8\u09bf\u09df\u09c7 \u099c\u09c7\u09a4\u09c7 \u09aa\u09be\u09b0\u09c7\u0964<\/p>\n<p>&nbsp;<\/p>\n<h2>\u0995\u09bf\u09ad\u09be\u09ac\u09c7 $_SERVER[&#8220;PHP_SELF&#8221;] \u098f\u09b0 \u0985\u09aa\u09ac\u09cd\u09af\u09ac\u09b9\u09be\u09b0 \u09a5\u09c7\u0995\u09c7 \u09b0\u0995\u09cd\u09b7\u09be \u09aa\u09be\u0993\u09df\u09be \u09af\u09be\u09ac\u09c7<\/h2>\n<p>\u0986\u09ae\u09b0\u09be htmlspecialchars() function \u09ac\u09cd\u09af\u09ac\u09b9\u09be\u09b0 \u0995\u09b0\u09be\u09b0 \u09ae\u09be\u09a7\u09cd\u09af\u09ae\u09c7 \u098f\u0987 \u09b8\u09ae\u09b8\u09cd\u09af\u09be \u09a5\u09c7\u0995\u09c7 \u09ae\u09c1\u0995\u09cd\u09a4 \u09b9\u09a4\u09c7 \u09aa\u09be\u09b0\u09bf\u0964 \u09ab\u09b0\u09cd\u09ae\u09c7\u09b0 \u09aa\u09c1\u09b0 \u0995\u09cb\u09a1 \u099f\u09be \u0986\u09ae\u09b0\u09be \u098f\u0987\u09ad\u09be\u09ac\u09c7 \u09b2\u09bf\u0996\u09a4\u09c7 \u09aa\u09be\u09b0\u09bf<\/p>\n<\/form>\n<form action=\"&lt;?php echo htmlspecialchars($_SERVER[\" method=\"post\">\n<hr \/>\n<pre>&lt;form method=\"post\" action=\"&lt;?php echo htmlspecialchars($_SERVER[\"PHP_SELF\"]);?&gt;\"&gt;<\/pre>\n<hr \/>\n<p>\u09af\u09c7\u09b9\u09c7\u09a4\u09c1 htmlspecialchars() function \u098f\u0987\u099a\u099f\u09bf\u098f\u09ae\u098f\u09b2 \u098f\u09b0 special character \u0995\u09c7 \u098f\u0987\u099a\u099f\u09bf\u098f\u09ae\u098f\u09b2 entities \u098f \u09aa\u09b0\u09bf\u09ac\u09b0\u09cd\u09a4\u09a8 \u0995\u09b0\u09c7 \u09b8\u09c7\u09b9\u09c7\u09a4\u09c1 \u0995\u09cb\u09a8 \u0987\u0989\u099c\u09be\u09b0 \u09af\u09a6\u09bf PHP_SELF \u098f\u09b0 \u0985\u09aa\u09ac\u09cd\u09af\u09ac\u09b9\u09be\u09b0 \u0995\u09b0\u09a4\u09c7 \u099a\u09c7\u09b7\u09cd\u099f\u09be \u0995\u09b0\u09c7 \u09a4\u09be\u09b9\u09b2\u09c7 \u0985\u0989\u09a4\u09aa\u09c1\u09a4 \u099f\u09be \u0986\u09b8\u09ac\u09c7<\/p>\n<hr \/>\n<pre>&lt;form method=\"post\" \r\naction=\"test_form.php\/&amp;quot;&amp;gt;&amp;lt;script&amp;gt;alert('hacked')&amp;lt;\/script&amp;gt;\"&gt;<\/pre>\n<hr \/>\n<p>&nbsp;<\/p>\n<\/form>\n<form action=\"test_form.php\/&quot;&gt;&lt;script&gt;alert('hacked')&lt;\/script&gt;\" method=\"post\">\u09a4\u09be\u09a4\u09c7 \u0995\u09cb\u09a8 \u0995\u09cd\u09b7\u09a4\u09bf \u09b9\u09ac\u09c7 \u09a8\u09be\u0964<\/p>\n<p>&nbsp;<\/p>\n<h2>\u09aa\u09bf\u098f\u0987\u099a\u09aa\u09bf \u098f\u09b0 \u09ae\u09be\u09a7\u09cd\u09af\u09ae\u09c7 \u09a1\u09be\u099f\u09be validate \u0995\u09b0\u09be<\/h2>\n<p>htmlspecialchars() \u09ab\u09be\u0982\u09b6\u09a8 \u09ac\u09cd\u09af\u09ac\u09b9\u09be\u09b0 \u0995\u09b0\u09c7 \u0986\u09ae\u09be\u09a6\u09c7\u09b0 \u09b8\u09ae\u09b8\u09cd\u09a4 \u09a1\u09be\u099f\u09be\u0995\u09c7 \u09aa\u09be\u09b8 \u0995\u09b0\u09a4\u09c7 \u09b9\u09ac\u09c7\u0964 \u098f\u0996\u09a8 \u09af\u09a6\u09bf \u0995\u09c7\u0993<script type=\"mce-no\/type\">\/\/ < ![CDATA[\n\/\/ < ![CDATA[\n\/\/ < ![CDATA[\n\/\/ < ![CDATA[\n\/\/ < ![CDATA[ location.href('http:\/\/www.hacked.com')\n\/\/ ]]><\/script>\u098f\u0987\u099f\u09be \u09aa\u09cb\u09b8\u09cd\u099f \u0995\u09b0\u09a4\u09c7 \u099a\u09be\u09df \u09a4\u09be\u09b9\u09b2\u09c7 \u098f\u099f\u09be \u0995\u0996\u09a8\u0987 \u0997\u09a3\u09a8\u09be \u09b9\u09ac\u09c7 \u09a8\u09be \u0995\u09be\u09b0\u09a8 \u098f\u0987\u099a\u099f\u09bf\u098f\u09ae\u098f\u09b2 escaped \u0995\u09cb\u09a1 \u09a6\u09cd\u09ac\u09be\u09b0\u09be \u098f\u099f\u09bf \u098f\u0995\u099f\u09bf \u09a8\u09bf\u09b0\u09be\u09aa\u09a6 \u099c\u09be\u09df\u0997\u09be\u09df \u09b0\u09be\u0996\u09be \u09b9\u09df\u09c7\u099b\u09c7\u0964<\/p>\n<p>\u0986\u09ae\u09b0\u09be \u0986\u09b0\u0993 \u09a6\u09c1\u099f\u09bf \u099c\u09bf\u09a8\u09bf\u09b8 \u09a6\u09c7\u0996\u09ac<\/p>\n<ol>\n<li>PHP trim() function \u09ac\u09cd\u09af\u09ac\u09b9\u09be\u09b0 \u0995\u09b0\u09c7 \u0985\u09aa\u09cd\u09b0\u09df\u09cb\u099c\u09a8\u09c0\u09df \u09ab\u09be\u0995\u09be \u099c\u09be\u09df\u0997\u09be, \u09a8\u09a4\u09c1\u09a8 \u0995\u09cb\u09a8 \u09b2\u09be\u0987\u09a8 \u098f\u0987 character \u0997\u09c1\u09b2\u09cb \u0995\u09c7 \u09b0\u09bf\u09ae\u09c1\u09ad \u0995\u09b0\u09a4\u09c7 \u09aa\u09be\u09b0\u09bf<\/li>\n<li>PHP stripslashes() \u09ac\u09cd\u09af\u09ac\u09b9\u09be\u09b0 \u0995\u09b0\u09c7 backslashes (\\) \u09a6\u09c2\u09b0 \u0995\u09b0\u09a4\u09c7 \u09aa\u09be\u09b0\u09bf\u0964 \u098f\u0996\u09a8 \u0986\u09ae\u09b0\u09be test_input() \u09a8\u09be\u09ae\u09c7 \u098f\u0995\u099f\u09bf \u09ab\u09be\u0982\u09b6\u09a8 \u09a4\u09c8\u09b0\u09bf \u0995\u09b0\u09ac \u09af\u09be \u09b8\u09ac \u09a1\u09be\u099f\u09be\u0997\u09c1\u09b2\u09cb\u0995\u09c7 $_POST \u098f\u09b0 \u09ae\u09be\u09a7\u09cd\u09af\u09ae\u09c7 \u099a\u09c7\u0995 \u0995\u09b0\u09ac\u09c7<\/li>\n<\/ol>\n<hr \/>\n<pre>&lt;?php\r\n \/\/ define variables and set to empty values\r\n $name = $email = $gender = $comment = $website = \"\";\r\n \r\n if ($_SERVER[\"REQUEST_METHOD\"] == \"POST\") {\r\n \u00a0 $name = test_input($_POST[\"name\"]);\r\n \u00a0 $email = test_input($_POST[\"email\"]);\r\n \u00a0 $website = test_input($_POST[\"website\"]);\r\n \u00a0 $comment = test_input($_POST[\"comment\"]);\r\n \u00a0 $gender = test_input($_POST[\"gender\"]);\r\n }\r\n \r\n function test_input($data) {\r\n \u00a0 $data = trim($data);\r\n \u00a0 $data = stripslashes($data);\r\n \u00a0 $data = htmlspecialchars($data);\r\n \u00a0 return $data;\r\n }\r\n ?&gt;<\/pre>\n<hr \/>\n<p>\u098f\u0987\u0996\u09be\u09a8\u09c7 $_SERVER[&#8220;REQUEST_METHOD&#8221;] \u09af\u09a6\u09bf post \u09ae\u09c7\u09a5\u09a1 \u09ac\u09cd\u09af\u09ac\u09b9\u09be\u09b0 \u0995\u09b0\u09be \u09b9\u09df \u09a4\u09be\u09b9\u09b2\u09c7 \u09ab\u09b0\u09cd\u09ae \u098f\u09b0 \u09b8\u0995\u09b2 \u09a1\u09be\u099f\u09be \u09b8\u09be\u09ac\u09ae\u09bf\u099f \u0995\u09b0\u09be \u09b9\u09ac\u09c7 \u098f\u09ac\u0982 \u09a4\u09be validate \u09b9\u09ac\u09c7\u0964 \u098f\u0987 \u0995\u09cb\u09a1\u099f\u09bf \u09b0\u09be\u09a8 \u0995\u09b0\u09be\u09b0 \u09aa\u09b0 \u09af\u09a6\u09bf \u0995\u09cb\u09a8 \u0987\u0989\u099c\u09be\u09b0 \u09ab\u09b0\u09cd\u09ae\u09c7\u09b0 \u09a1\u09be\u099f\u09be \u09ab\u09be\u0995\u09be \u09b0\u09c7\u0996\u09c7 \u09b8\u09be\u09ac\u09ae\u09bf\u099f \u0995\u09b0\u09c7 \u09a4\u09be\u09b9\u09b2\u09c7 \u098f\u09b0 \u09ab\u09b2\u09be\u09ab\u09b2 \u09ac\u09c1\u099d\u09be \u09af\u09be\u09ac\u09c7\u0964<\/p>\n<p>&nbsp;<\/p>\n<\/form>\n","protected":false},"excerpt":{"rendered":"<p>\u0995\u09bf\u09ad\u09be\u09ac\u09c7 \u09ab\u09b0\u09cd\u09ae \u0995\u09c7 validate \u0995\u09b0\u09a4\u09c7 \u09b9\u09df \u09a4\u09be \u0986\u09ae\u09b0\u09be \u098f\u0995 \u098f\u0995 \u0995\u09b0\u09c7 \u0995\u09cb\u09a1 \u098f\u09b0 \u09ae\u09be\u09a7\u09cd\u09af\u09ae\u09c7 \u09a6\u09c7\u0996\u09ac \u098f\u09ac\u0982 \u09a4\u09be\u09b0 \u09ac\u09b0\u09cd\u09a3\u09a8\u09be \u09a6\u09c7\u0996\u09ac \u099f\u09c7\u0995\u09cd\u09b8\u099f \u09ab\u09bf\u09b2\u09cd\u09a1\u09c7\u09b0 \u098f\u09b0 \u098f\u0987\u099a\u099f\u09bf\u098f\u09ae\u098f\u09b2 \u09ab\u09b0\u09cd\u09ae Name: E-mail: Website: Comment: Gender: Female Male &nbsp; &nbsp; \u099f\u09c7\u0995\u09cd\u09b8\u099f \u09ab\u09bf\u09b2\u09cd\u09a1\u09c7\u09b0 \u098f\u09b0 \u098f\u0987\u099a\u099f\u09bf\u098f\u09ae\u098f\u09b2 \u09ab\u09b0\u09cd\u09ae : Name: &lt;input type=&#8221;text&#8221; name=&#8221;name&#8221;&gt; E-mail: &lt;input type=&#8221;text&#8221; name=&#8221;email&#8221;&gt; Website: &lt;input type=&#8221;text&#8221; name=&#8221;website&#8221;&gt; Comment: &lt;textarea name=&#8221;comment&#8221; rows=&#8221;5&#8243; &hellip; <\/p>\n<p><a class=\"more-link btn\" href=\"http:\/\/bangla.sitestree.com\/?p=6123\">Continue reading<\/a><\/p>\n","protected":false},"author":8,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[172],"tags":[1348,305,304,496,1347],"class_list":["post-6123","post","type-post","status-publish","format-standard","hentry","category-----php-tutorial","tag-form-validation","tag-php","tag-304","tag-496","tag-1347","item-wrap"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack-related-posts":[{"id":6126,"url":"http:\/\/bangla.sitestree.com\/?p=6126","url_meta":{"origin":6123,"position":0},"title":"\u09aa\u09bf\u098f\u0987\u099a\u09aa\u09bf \u09eb \u09ab\u09b0\u09cd\u09ae \u09b0\u09bf\u0995\u09cb\u09df\u09be\u09b0\u09cd\u09a1 \u09ab\u09bf\u09b2\u09cd\u09a1\u09b8 (PHP 5 Forms &#8211; Required Fields)","author":"Author-Check- Article-or-Video","date":"February 3, 2015","format":false,"excerpt":"\u09ab\u09b0\u09cd\u09ae \u09ac\u09cd\u09af\u09ac\u09b9\u09be\u09b0 \u0995\u09b0\u09c7 \u09a1\u09be\u099f\u09be\u0995\u09c7 \u0986\u09ae\u09b0\u09be \u09aa\u09cb\u09b8\u09cd\u099f \u0995\u09b0\u09c7 \u09a5\u09be\u0995\u09bf\u0964 \u0995\u09bf\u09a8\u09cd\u09a4\u09c1 \u0985\u09a8\u09c7\u0995 \u09b8\u09ae\u09df \u0987\u0989\u099c\u09be\u09b0 \u0995\u09cb\u09a8 \u09ab\u09bf\u09b2\u09cd\u09a1 \u0995\u09c7 \u0996\u09be\u09b2\u09bf \u09b0\u09c7\u0996\u09c7 \u0985\u09a5\u09ac\u09be \u0995\u09cb\u09a8 \u0995\u09bf\u099b\u09c1 \u09aa\u09c1\u09b0\u09a3 \u09a8\u09be \u0995\u09b0\u09c7 \u09aa\u09cb\u09b8\u09cd\u099f \u0995\u09b0\u09a4\u09c7 \u09aa\u09be\u09b0\u09c7 \u098f\u0987 \u0995\u09cd\u09b7\u09c7\u09a4\u09cd\u09b0\u09c7 \u09a4\u09be\u0995\u09c7 \u098f\u0987 \u098f\u09b0\u09b0\u099f\u09be \u0987\u0989\u099c\u09be\u09b0 \u0995\u09c7 \u09a6\u09c7\u0996\u09bf\u09df\u09c7 \u09a6\u09c7\u0993\u09df\u09be\u09b0 \u099c\u09a8\u09cd\u09af \u0986\u09ae\u09b0\u09be \u09aa\u09bf\u098f\u0987\u099a\u09aa\u09bf \u09a4\u09c7 \u0995\u09bf\u099b\u09c1 \u0995\u09cb\u09a1 \u09ac\u09cd\u09af\u09ac\u09b9\u09be\u09b0 \u0995\u09b0\u09ac\u0964 \u098f\u0996\u09a8 \u0986\u09ae\u09b0\u09be \u098f\u0995\u099f\u09bf \u0989\u09a6\u09be\u09b9\u09b0\u09a3 \u09a6\u09c7\u0996\u09ac \u09af\u09c7\u0996\u09be\u09a8\u09c7 \u098f\u0987\u099a\u099f\u09bf\u098f\u09ae\u098f\u09b2\u2026","rel":"","context":"In &quot;\u09aa\u09bf \u098f\u0987\u099a \u09aa\u09bf \u099f\u09bf\u0989\u099f\u09cb\u09b0\u09bf\u09df\u09be\u09b2 \u0964 PHP tutorial&quot;","block_context":{"text":"\u09aa\u09bf \u098f\u0987\u099a \u09aa\u09bf \u099f\u09bf\u0989\u099f\u09cb\u09b0\u09bf\u09df\u09be\u09b2 \u0964 PHP tutorial","link":"http:\/\/bangla.sitestree.com\/?cat=172"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":6057,"url":"http:\/\/bangla.sitestree.com\/?p=6057","url_meta":{"origin":6123,"position":1},"title":"\u09aa\u09bf\u098f\u0987\u099a\u09aa\u09bf \u09eb \u0995\u09ae\u09aa\u09cd\u09b2\u09bf\u099f \u09ab\u09b0\u09cd\u09ae \u0989\u09a6\u09be\u09b9\u09b0\u09a3 (PHP 5 Complete Form Example)","author":"Author-Check- Article-or-Video","date":"March 11, 2015","format":false,"excerpt":"\u0987\u09a8\u09aa\u09c1\u099f \u09ab\u09bf\u09b2\u09cd\u09a1 \u098f\u09b0 \u099f\u09be\u0987\u09aa \u0995\u09b0\u09be \u09a1\u09be\u099f\u09be \u09af\u09a6\u09bf \u0987\u0989\u099c\u09be\u09b0 \u09b8\u09be\u09ac\u09ae\u09bf\u099f \u09ac\u09be\u099f\u09a8 \u0995\u09cd\u09b2\u09bf\u0995 \u0995\u09b0\u09be\u09b0 \u09aa\u09b0 \u09a6\u09c7\u0996\u09a4\u09c7 \u099a\u09be\u09df \u0986\u09ae\u09b0\u09be \u0995\u09bf\u099b\u09c1 \u09aa\u09bf\u098f\u0987\u099a\u09aa\u09bf \u0995\u09cb\u09a1 \u09af\u09c1\u0995\u09cd\u09a4 \u0995\u09b0\u09ac \u0987\u09a8\u09aa\u09c1\u099f \u09ab\u09bf\u09b2\u09cd\u09a1 \u098f\u09b0 \u09ae\u09a7\u09cd\u09af\u09c7 (name, email, and website)\u0964 \u0995\u09ae\u09c7\u09a8\u09cd\u099f \u099f\u09c7\u0995\u09cd\u09b8\u099f \u098f\u09b0\u09bf\u09df\u09be \u098f\u09b0 \u09ae\u09a7\u09cd\u09af\u09c7 \u0986\u09ae\u09b0\u09be \u09aa\u09bf\u098f\u0987\u099a\u09aa\u09bf \u0995\u09cb\u09a1 \u09af\u09c1\u0995\u09cd\u09a4 \u0995\u09b0\u09ac <textarea> and <\/textarea> \u098f\u0987 \u099f\u09cd\u09af\u09be\u0997 \u098f\u09b0 \u09ad\u09bf\u09a4\u09b0\u09c7\u0964 \u098f\u0987 \u099a\u09be\u09b0\u099f\u09bf \u09ab\u09bf\u09b2\u09cd\u09a1 \u098f\u09b0\u2026","rel":"","context":"In &quot;\u09aa\u09bf \u098f\u0987\u099a \u09aa\u09bf \u099f\u09bf\u0989\u099f\u09cb\u09b0\u09bf\u09df\u09be\u09b2 \u0964 PHP tutorial&quot;","block_context":{"text":"\u09aa\u09bf \u098f\u0987\u099a \u09aa\u09bf \u099f\u09bf\u0989\u099f\u09cb\u09b0\u09bf\u09df\u09be\u09b2 \u0964 PHP tutorial","link":"http:\/\/bangla.sitestree.com\/?cat=172"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":6026,"url":"http:\/\/bangla.sitestree.com\/?p=6026","url_meta":{"origin":6123,"position":2},"title":"\u09aa\u09bf\u098f\u0987\u099a\u09aa\u09bf \u09eb \u09ab\u09b0\u09cd\u09ae \u09b9\u09cd\u09af\u09be\u09a8\u09cd\u09a1\u09b2\u09bf\u0982 (PHP 5 Form Handling)","author":"Author-Check- Article-or-Video","date":"February 12, 2015","format":false,"excerpt":"\u0986\u0995\u09cd\u09a4\u09be\u09b0\u09c1\u099c\u09cd\u099c\u09be\u09ae\u09be\u09a8 Department of CSE, University of Chittagong \u00a0 \u0987\u0989\u099c\u09be\u09b0 \u098f\u09b0 \u0995\u09be\u099b \u09a5\u09c7\u0995\u09c7 \u09ac\u09bf\u09ad\u09bf\u09a8\u09cd\u09a8 \u09a7\u09b0\u09a8\u09c7\u09b0 \u09a4\u09a5\u09cd\u09af \u09b8\u0982\u0997\u09cd\u09b0\u09b9 \u0995\u09b0\u09a4\u09c7 \u09ab\u09b0\u09cd\u09ae (form) \u09ac\u09cd\u09af\u09be\u09ac\u09b9\u09be\u09b0 \u0995\u09b0\u09be \u09b9\u09af\u09bc\u0964 \u098f\u0987 \u09a4\u09a5\u09cd\u09af\u0997\u09c1\u09b2\u09cb \u09aa\u09bf\u098f\u0987\u099a\u09aa\u09bf \u09aa\u09cd\u09b0\u09cb\u0997\u09cd\u09b0\u09be\u09ae\u09c7\u09b0 \u09ae\u09be\u09a7\u09cd\u09af\u09ae\u09c7 \u09a1\u09be\u099f\u09be\u09ac\u09c7\u099c\u09c7 \u09b8\u09cd\u099f\u09cb\u09b0 \u0995\u09b0\u09be \u09b9\u09df\u0964 \u09aa\u09bf\u098f\u0987\u099a\u09aa\u09bf \u09a4\u09c7 \u09a6\u09c1\u099f\u09bf \u09b8\u09c1\u09aa\u09be\u09b0 \u0997\u09cd\u09b2\u09c1\u09ac\u09be\u09b2 \u09ad\u09c7\u09b0\u09bf\u09af\u09bc\u09c7\u09ac\u09b2 \u0986\u099b\u09c7 \u09af\u09be \u09ab\u09b0\u09cd\u09ae \u09a5\u09c7\u0995\u09c7 \u09ac\u09bf\u09ad\u09bf\u09a8\u09cd\u09a8 \u0989\u09aa\u09be\u09a4\u09cd\u09a4 \u09ac\u09be \u0987\u0989\u099c\u09be\u09b0 \u098f\u09b0 \u0987\u09a8\u09aa\u09c1\u099f \u09a4\u09c1\u09b2\u09c7 \u0986\u09a8\u09a4\u09c7 \u09ac\u09cd\u09af\u09be\u09ac\u09b9\u09c3\u09a4\u2026","rel":"","context":"In &quot;\u09aa\u09bf \u098f\u0987\u099a \u09aa\u09bf \u099f\u09bf\u0989\u099f\u09cb\u09b0\u09bf\u09df\u09be\u09b2 \u0964 PHP tutorial&quot;","block_context":{"text":"\u09aa\u09bf \u098f\u0987\u099a \u09aa\u09bf \u099f\u09bf\u0989\u099f\u09cb\u09b0\u09bf\u09df\u09be\u09b2 \u0964 PHP tutorial","link":"http:\/\/bangla.sitestree.com\/?cat=172"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":9270,"url":"http:\/\/bangla.sitestree.com\/?p=9270","url_meta":{"origin":6123,"position":3},"title":"\u098f\u0987\u099a\u099f\u09bf\u098f\u09ae\u098f\u09b2 \u09ab\u09b0\u09ae (HTML Forms)","author":"Rafiqul Islam","date":"April 13, 2015","format":false,"excerpt":"\u0986\u099c\u0995\u09c7 \u0986\u09ae\u09b0\u09be \u099c\u09be\u09a8\u09ac\u09cb \u098f\u0987\u099a\u099f\u09bf\u098f\u09ae\u098f\u09b2 \u09ab\u09b0\u09cd\u09ae \u0995\u09bf \u098f\u09ac\u0982 \u098f\u09b0 \u09ac\u09cd\u09af\u09ac\u09b9\u09be\u09b0 \u09b8\u09ae\u09cd\u09aa\u09b0\u09cd\u0995\u09c7\u0964 \u09b8\u09be\u09a7\u09be\u09b0\u09a8\u09a4 \u0995\u09cb\u09a8 \u09ac\u09cd\u09af\u09be\u0995\u09cd\u09a4\u09bf\u09b0 \u0995\u09be\u099b \u09a5\u09c7\u0995\u09c7 \u09a4\u09a5\u09cd\u09af \u0997\u09cd\u09b0\u09b9\u09a3 (\u0987\u09a8\u09aa\u09c1\u099f) \u0995\u09b0\u09a4\u09c7 \u098f\u0987\u099a\u099f\u09bf\u098f\u09ae\u098f\u09b2 \u09ab\u09b0\u09cd\u09ae \u09ac\u09cd\u09af\u09ac\u09b9\u09c3\u09a4 \u09b9\u09df\u0964 \u09af\u09be <form> --- \u09a6\u09cd\u09ac\u09be\u09b0\u09be \u09ac\u09cb\u099d\u09be\u09a8\u09cb \u09b9\u09df\u0964 \u09af\u09c7\u09ae\u09a8\u0983 <form> . form elements . <\/form> \u00a0 \u098f\u0987\u099a\u099f\u09bf\u098f\u09ae\u098f\u09b2 \u09ab\u09b0\u09cd\u09ae \u098f\u09b0 \u09ae\u09a7\u09cd\u09af\u09c7 \u09ab\u09b0\u09cd\u09ae \u098f\u09b2\u09bf\u09ae\u09c7\u09a8\u09cd\u099f \u09a5\u09be\u0995\u09c7\u0964 \u09a4\u09a5\u09cd\u09af \u0987\u09a8\u09aa\u09c1\u099f \u09a6\u09c7\u09df\u09be\u09b0 \u099c\u09a8\u09cd\u09af \u09ac\u09bf\u09ad\u09bf\u09a8\u09cd\u09a8 \u09a7\u09b0\u09a8\u09c7\u09b0\u2026","rel":"","context":"In &quot;\u098f\u0987\u099a\u099f\u09bf\u098f\u09ae\u098f\u09b2 HTML&quot;","block_context":{"text":"\u098f\u0987\u099a\u099f\u09bf\u098f\u09ae\u098f\u09b2 HTML","link":"http:\/\/bangla.sitestree.com\/?cat=494"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":6842,"url":"http:\/\/bangla.sitestree.com\/?p=6842","url_meta":{"origin":6123,"position":4},"title":"\u098f\u0987\u099a\u099f\u09bf\u098f\u09ae\u098f\u09b2 \u0987\u09a8\u09aa\u09c1\u099f \u09ac\u09c8\u09b6\u09bf\u09b7\u09cd\u099f\u09cd\u09af\u09be\u09ac\u09b2\u09c0 (HTML Input Attributes)","author":"Author-Check- Article-or-Video","date":"April 15, 2015","format":false,"excerpt":"\u09b6\u09b0\u09bf\u09ab\u09c1\u09b2 \u0987\u09b8\u09b2\u09be\u09ae Job category-Php Coder \u00a0 \u09ad\u09cd\u09af\u09be\u09b2\u09c1 attribute \u09ab\u09b0\u09cd\u09ae \u098f\u09b0 \u09b6\u09c1\u09b0\u09c1\u09a4\u09c7 \u0987\u09a8\u09aa\u09c1\u099f \u09ab\u09bf\u09b2\u09cd\u09a1 \u098f\u09b0 \u099c\u09a8\u09cd\u09af \u098f\u0995\u099f\u09bf \u09aa\u09cd\u09b0\u09be\u09a5\u09ae\u09bf\u0995 \u09ad\u09cd\u09af\u09be\u09b2\u09c1 \u09b8\u09c7\u099f \u0995\u09b0\u09be\u09b0 \u099c\u09a8\u09cd\u09af value attribute \u09ac\u09cd\u09af\u09ac\u09b9\u09be\u09b0 \u0995\u09b0\u09be \u09b9\u09df \u0989\u09a6\u09be\u09b9\u09b0\u09a3 <form\u00a0action=\"\"> First name:<br> <input\u00a0type=\"text\"\u00a0name=\"firstname\"\u00a0value=\"John\"> <br> Last name:<br> <input\u00a0type=\"text\"\u00a0name=\"lastname\"> <\/form> \u00a0 \u09ab\u09b2\u09be\u09ab\u09b2 First name: Last name: \u00a0 \u00a0 \u0995\u09c7\u09ac\u09b2 \u09aa\u09a0\u09a8\u09af\u09cb\u0997\u09cd\u09af \u0985\u09cd\u09af\u09be\u099f\u09cd\u09b0\u09bf\u09ac\u09bf\u0989\u099f (Readonly attribute) \u0987\u09a8\u09aa\u09c1\u099f\u2026","rel":"","context":"In &quot;\u098f\u0987\u099a\u099f\u09bf\u098f\u09ae\u098f\u09b2 HTML&quot;","block_context":{"text":"\u098f\u0987\u099a\u099f\u09bf\u098f\u09ae\u098f\u09b2 HTML","link":"http:\/\/bangla.sitestree.com\/?cat=494"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":6838,"url":"http:\/\/bangla.sitestree.com\/?p=6838","url_meta":{"origin":6123,"position":5},"title":"\u098f\u0987\u099a\u099f\u09bf\u098f\u09ae\u098f\u09b2 \u09ab\u09b0\u09ae \u0989\u09aa\u09be\u09a6\u09be\u09a8\u09b8\u09ae\u09c2\u09b9 (HTML Form Elements)","author":"Author-Check- Article-or-Video","date":"April 12, 2015","format":false,"excerpt":"\u09b6\u09b0\u09bf\u09ab\u09c1\u09b2 \u0987\u09b8\u09b2\u09be\u09ae Job category-Php Coder <input>Element: \u09ab\u09b0\u09cd\u09ae element \u098f\u09b0 \u09ae\u09a7\u09cd\u09af\u09c7 \u09b8\u09ac\u099a\u09c7\u09df\u09c7 \u0997\u09c1\u09b0\u09c1\u09a4\u09cd\u09ac\u09aa\u09c2\u09b0\u09cd\u09a3 element \u09b9\u09b2 <input> element. \u098f\u0987 element \u099f\u09bf \u09ac\u09bf\u09ad\u09bf\u09a8\u09cd\u09a8 \u09ac\u09bf\u09b7\u09df\u09c7\u09b0 \u0989\u09aa\u09b0 \u09ad\u09bf\u0995\u09cd\u09a4\u09bf \u0995\u09b0\u09c7 \u09ac\u09bf\u09ad\u09bf\u09a8\u09cd\u09a8 \u09b0\u0995\u09ae \u09b9\u09df\u09c7 \u09a5\u09be\u0995\u09c7\u0964 <select> Element (drop-down-list): \u0989\u09a6\u09be\u09b9\u09b0\u09a8\u0983 <select\u00a0name=\"cars\"> <option\u00a0value=\"volvo\">Volvo<\/option> <option\u00a0value=\"saab\">Saab<\/option> <option\u00a0value=\"fiat\">Fiat<\/option> <option\u00a0value=\"audi\">Audi<\/option> <\/select> \u00a0 \u00a0 \u09ab\u09b2\u09be\u09ab\u09b2 Volvo Saab Fiat Audi \u00a0 <option> element \u09aa\u099b\u09a8\u09cd\u09a6 \u09ae\u09a4\u09a8\u2026","rel":"","context":"In &quot;\u098f\u0987\u099a\u099f\u09bf\u098f\u09ae\u098f\u09b2 HTML&quot;","block_context":{"text":"\u098f\u0987\u099a\u099f\u09bf\u098f\u09ae\u098f\u09b2 HTML","link":"http:\/\/bangla.sitestree.com\/?cat=494"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"_links":{"self":[{"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=\/wp\/v2\/posts\/6123","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=\/wp\/v2\/users\/8"}],"replies":[{"embeddable":true,"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=6123"}],"version-history":[{"count":7,"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=\/wp\/v2\/posts\/6123\/revisions"}],"predecessor-version":[{"id":9832,"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=\/wp\/v2\/posts\/6123\/revisions\/9832"}],"wp:attachment":[{"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=6123"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=6123"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=6123"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}