ElaKiri Community
Downloads
Go Back   ElaKiri Community > General > ElaKiri Help
Reload this Page PHP වැඩ්ඩෝ එන්නෝ.....
Reply
 
Thread Tools
(#1)
Old
Aruna119's Avatar
Aruna119 Aruna119 is offline
Senior Member
Aruna119 is a glorious beacon of lightAruna119 is a glorious beacon of lightAruna119 is a glorious beacon of lightAruna119 is a glorious beacon of lightAruna119 is a glorious beacon of lightAruna119 is a glorious beacon of lightAruna119 is a glorious beacon of lightAruna119 is a glorious beacon of lightAruna119 is a glorious beacon of lightAruna119 is a glorious beacon of lightAruna119 is a glorious beacon of light
 
Posts: 5,393
Join Date: Jul 2014
Location: පලංචියේ............................
Send a message via Skype™ to Aruna119
PHP වැඩ්ඩෝ එන්නෝ..... - 05-16-2018, 08:08 PM



මෙහෙම එන්නේ අැයි..

කොඩ් එක ------------------------
|
V


Code:
<?php
        
    session_start();
        
        $entereduname       = $_POST['username'];
        $enteredpassword    = $_POST['password'];
        
        $username="aruna119";
        $password="123";
        
        if($entereduname == $username && $enteredpassword==$password){
            
            $_SESSION['loggedin']= "true";
            $url = "Location: details.php";
            header($url);
            exit;
        }
    
        if($entereduname != $username && $enteredpassword == $password){
            echo "<font color='red'>ERROR:Your Password or User name Invalid</font>";
        }
        if($entereduname == $username && $enteredpassword != $password){
            echo "<font color='red'>ERROR:Your Password or User name Invalid</font>";
        }
       
        
    
    ?>
Reply With Quote
(#2)
Old
Aruna119's Avatar
Aruna119 Aruna119 is offline
Senior Member
Aruna119 is a glorious beacon of lightAruna119 is a glorious beacon of lightAruna119 is a glorious beacon of lightAruna119 is a glorious beacon of lightAruna119 is a glorious beacon of lightAruna119 is a glorious beacon of lightAruna119 is a glorious beacon of lightAruna119 is a glorious beacon of lightAruna119 is a glorious beacon of lightAruna119 is a glorious beacon of lightAruna119 is a glorious beacon of light
 
Posts: 5,393
Join Date: Jul 2014
Location: පලංචියේ............................
Send a message via Skype™ to Aruna119
05-16-2018, 08:16 PM

bump
Reply With Quote
(#3)
Old
Aruna119's Avatar
Aruna119 Aruna119 is offline
Senior Member
Aruna119 is a glorious beacon of lightAruna119 is a glorious beacon of lightAruna119 is a glorious beacon of lightAruna119 is a glorious beacon of lightAruna119 is a glorious beacon of lightAruna119 is a glorious beacon of lightAruna119 is a glorious beacon of lightAruna119 is a glorious beacon of lightAruna119 is a glorious beacon of lightAruna119 is a glorious beacon of lightAruna119 is a glorious beacon of light
 
Posts: 5,393
Join Date: Jul 2014
Location: පලංචියේ............................
Send a message via Skype™ to Aruna119
05-16-2018, 08:26 PM

bump
Reply With Quote
(#4)
Old
Aruna119's Avatar
Aruna119 Aruna119 is offline
Senior Member
Aruna119 is a glorious beacon of lightAruna119 is a glorious beacon of lightAruna119 is a glorious beacon of lightAruna119 is a glorious beacon of lightAruna119 is a glorious beacon of lightAruna119 is a glorious beacon of lightAruna119 is a glorious beacon of lightAruna119 is a glorious beacon of lightAruna119 is a glorious beacon of lightAruna119 is a glorious beacon of lightAruna119 is a glorious beacon of light
 
Posts: 5,393
Join Date: Jul 2014
Location: පලංචියේ............................
Send a message via Skype™ to Aruna119
05-16-2018, 08:59 PM

bump
Reply With Quote
(#5)
Old
@media's Avatar
@media @media is offline
Senior Member
@media is just really nice@media is just really nice@media is just really nice@media is just really nice@media is just really nice@media is just really nice@media is just really nice@media is just really nice
 
Posts: 1,014
Join Date: May 2011
05-16-2018, 09:05 PM

ube $_POST eka athule username eka na bn ekai.. var_dump ekak gahapan $_POST eke gahala balahan
Reply With Quote
(#6)
Old
LazyLizard's Avatar
LazyLizard LazyLizard is online now
Senior Member
LazyLizard has much to be proud ofLazyLizard has much to be proud ofLazyLizard has much to be proud ofLazyLizard has much to be proud ofLazyLizard has much to be proud ofLazyLizard has much to be proud ofLazyLizard has much to be proud ofLazyLizard has much to be proud ofLazyLizard has much to be proud ofLazyLizard has much to be proud ofLazyLizard has much to be proud of
 
Posts: 40,725
Join Date: Aug 2015
Location: කටුකරෝලගම
Send a message via ICQ to LazyLizard
05-16-2018, 09:12 PM

ලොගින් ෆෝම් එකයි ලොගින් චෙක් කරන මේ කෝඩ් එකයි එකම ෆයිල් එකේද තියෙන්නේ ෆෝම් එක ඉස්සෙල්ලම ලෝඩ් වෙද්දී පෝස්ට් වෙච්චි ඩේට මුකුත් නෑ නෙ ඒකයි ඔය මම හිතන්නේ. ලොගින් චෙක් කරන්න ඕනේ ෆෝම් එක සබ්මිට් උනොත් විතරයි
Reply With Quote
(#7)
Old
mtmadushanka's Avatar
mtmadushanka mtmadushanka is online now
Senior Member
mtmadushanka is a glorious beacon of lightmtmadushanka is a glorious beacon of lightmtmadushanka is a glorious beacon of lightmtmadushanka is a glorious beacon of lightmtmadushanka is a glorious beacon of lightmtmadushanka is a glorious beacon of lightmtmadushanka is a glorious beacon of lightmtmadushanka is a glorious beacon of lightmtmadushanka is a glorious beacon of lightmtmadushanka is a glorious beacon of lightmtmadushanka is a glorious beacon of light
 
Posts: 3,304
Join Date: Apr 2018
Location: Hogwarts 🏰
05-16-2018, 09:18 PM

Bump
Reply With Quote
(#8)
Old
JokerFan's Avatar
JokerFan JokerFan is offline
Senior Member
JokerFan is a name known to allJokerFan is a name known to allJokerFan is a name known to allJokerFan is a name known to allJokerFan is a name known to allJokerFan is a name known to allJokerFan is a name known to allJokerFan is a name known to allJokerFan is a name known to allJokerFan is a name known to allJokerFan is a name known to all
 
Posts: 7,615
Join Date: May 2016
Location: Arkham City
05-16-2018, 09:22 PM

up
Reply With Quote
(#9)
Old
ArunaTelshan's Avatar
ArunaTelshan ArunaTelshan is offline
Senior Member
ArunaTelshan is a glorious beacon of lightArunaTelshan is a glorious beacon of lightArunaTelshan is a glorious beacon of lightArunaTelshan is a glorious beacon of lightArunaTelshan is a glorious beacon of lightArunaTelshan is a glorious beacon of lightArunaTelshan is a glorious beacon of lightArunaTelshan is a glorious beacon of lightArunaTelshan is a glorious beacon of lightArunaTelshan is a glorious beacon of lightArunaTelshan is a glorious beacon of light
 
Posts: 1,753
Join Date: Nov 2013
Location: Biyagama
05-16-2018, 09:25 PM

$entereduname = $_POST['username'];
$enteredpassword = $_POST['password'];

meka define karanna one post submit karaddi neda.. nikamma dala hinda wenna athi ohoma enne..

Reply With Quote
(#10)
Old
rajith123's Avatar
rajith123 rajith123 is offline
Senior Member
rajith123 will become famous soon enoughrajith123 will become famous soon enough
 
Posts: 1,580
Join Date: May 2007
05-16-2018, 09:36 PM

print_r($_POST);exit;

එකක් දාල බලන්න පුතී username key එක තියනවද කියල
Reply With Quote
Reply

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



Copyright © 2006 - 2011 ElaKiri™ Beta2.Evo vBulletin, vBa iBproArcade Subdreamer I-Magic MKv

Page generated in 0.02067 seconds with 9 queries