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
Ad icon
🎮 INDIAN PSN GIFT CARDS AVAILABLE NOW! 🎮
madukaperera
Updated:
Today at 12:57 PM
🚀 Google AI PRO – 18 Months | Rs. 850 Only
lkkolla
Updated:
Yesterday at 4:56 PM
🔒 NordVPN Premium – 3 Months
hrdilshan
Updated:
Thursday at 8:29 PM
🚀 Microsoft Office 365 Pro Plus – Lifetime Access! 🚀
hrdilshan
Updated:
Thursday at 8:28 PM
Linkedin Premium Business / Careere /Sales Navigator - 1/2/3/6/9/12 Months - Reddem Link
hrdilshan
Updated:
Thursday at 8:27 PM
Electronics
Vehicles
Property
Search
Reply to thread
Forums
Computers & Internet
Software Development
php help ekak oone
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="achintha" data-source="post: 12102995" data-attributes="member: 3518"><p>[PHP]<html></p><p> <body></p><p> <h3> Login Page </h3></p><p> <?php</p><p> //Checks whether the "login" key exists in the $_POST</p><p> //array to make sure that Submit button in the form</p><p> //hasn't been pressed</p><p> if (!isset($_POST["login"]) || ($_POST["login"] != "Login")) {</p><p> ?></p><p> <form name="form1" method="post" action="loginform.php"></p><p> Username :</p><p> <input name="uname" type="text"></p><p> <br/></p><p> Password :</p><p> <input name="passwd" type="password"></p><p> <br/></p><p> <input type="submit" name="login" value="Login"></p><p> </form></p><p> <?php</p><p> }else{</p><p> // If the form has been submiited then display the form</p><p> // values for the $_POST array</p><p> ?></p><p> <form name="form1" method="post" action="loginform.php"></p><p> <strong>Username</strong><?php echo $_POST["uname"]?></p><p> <br></p><p> <strong>Password</strong><?php echo $_POST["passwd"]?></p><p> </form></p><p> <?php</p><p> }</p><p> ?></p><p> </body></p><p></html>[/PHP]</p></blockquote><p></p>
[QUOTE="achintha, post: 12102995, member: 3518"] [PHP]<html> <body> <h3> Login Page </h3> <?php //Checks whether the "login" key exists in the $_POST //array to make sure that Submit button in the form //hasn't been pressed if (!isset($_POST["login"]) || ($_POST["login"] != "Login")) { ?> <form name="form1" method="post" action="loginform.php"> Username : <input name="uname" type="text"> <br/> Password : <input name="passwd" type="password"> <br/> <input type="submit" name="login" value="Login"> </form> <?php }else{ // If the form has been submiited then display the form // values for the $_POST array ?> <form name="form1" method="post" action="loginform.php"> <strong>Username</strong><?php echo $_POST["uname"]?> <br> <strong>Password</strong><?php echo $_POST["passwd"]?> </form> <?php } ?> </body> </html>[/PHP] [/QUOTE]
Insert quotes…
Verification
Dahaya deken beduwama keeyada?
Post reply
Top
Bottom