Pardes Mein Hai Mera Dil
Queen Of Mystery ...
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: 4,815
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: 4,815
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: 4,815
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: 4,815
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
 
Posts: 1,010
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 offline
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: 38,856
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 offline
Senior Member
mtmadushanka has a spectacular aura aboutmtmadushanka has a spectacular aura aboutmtmadushanka has a spectacular aura aboutmtmadushanka has a spectacular aura about
 
Posts: 445
Join Date: Apr 2018
Location: Finding....
Send a message via Skype™ to mtmadushanka
05-16-2018, 09:18 PM

Bump
Reply With Quote
(#8)
Old
JokerFan's Avatar
JokerFan JokerFan is offline
Senior Member
JokerFan is a glorious beacon of lightJokerFan is a glorious beacon of lightJokerFan is a glorious beacon of lightJokerFan is a glorious beacon of lightJokerFan is a glorious beacon of lightJokerFan is a glorious beacon of lightJokerFan is a glorious beacon of lightJokerFan is a glorious beacon of lightJokerFan is a glorious beacon of lightJokerFan is a glorious beacon of lightJokerFan is a glorious beacon of light
 
Posts: 6,868
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,166
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 enough
 
Posts: 1,569
Join Date: May 2007
05-16-2018, 09:36 PM

print_r($_POST);exit;

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

Bookmarks


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.02683 seconds with 9 queries