Jump to content
php.lv forumi

php login


prokiller
 Share

Recommended Posts

sveiki.....

runa iet par Muweb 0.9 marketa sistemu !

Problema tada ka pardodot kadu mantu , var to pats no sevis nopirkt ielogojoties ar Lielajiem login burtiem (Caps lock)

emm kads var palidzet ar php login'u !

Konkretot sakot , kads ir tas kods kurs norada kadus simbojus izmantot rakstot savu username login !

Man tiesi vaig kods kurs norada ka drikts loginu rakstit tikai ar mazajiem burtiem , bez caps lock !

vai ari man der , , ka atlauj loginu ar CAPS , bet ielogojas tikunta ar mazajiem burtiem !

un vai ir iespejams to php forma !

P.s esmu iesacejs saja joma , bet luk man tiesi login:

- man md5 ir izslegts !

 

 

<tr>

 

<td valign="top" style="background-image: url('.$muweb['images'].'/red_menu_middle.png);" class="space">'; if($_SESSION['user_login'] != ok){ $header_content .= '<form name="account_l" method="post" action="">

<table width="174" border="0" cellspacing="0" cellpadding="0">

 

<tr>

<td width="18"></td>

<td width="156" class="text">'._Username.'</td>

 

</tr>

<tr>

<td> </td>

<td><input name="user_'.$_SESSION['md5_post'].'" type="text" class="field" size="20" ></td>

</tr>

<tr>

<td></td>

<td class="text">'._Password.'</td>

</tr>

<tr>

<td> </td>

<td><input name="pass_'.$_SESSION['md5_post'].'" type="password" class="field" size="20" ><input type="hidden" name="username_login"></td>

</tr>

<tr>

<td> </td>

<td class="space"><div id="pass_content" align="left"><input name="Submit" type="button" class="button" value="'._Login.'" onClick="encrypt_data(\'account_l\',\'pass_content\',\'Please Wait...\',\'140\');"></div>

</td>

</tr>

Link to comment
Share on other sites

briedis tnx par kodu , bet tgd stubls jautajums no manas puses , bet es ka jau teicu daudz nezinu no php ! Maku labot bugus, bet ne izdomat kodus kuri funkciones ! tapec jautajums !

Kur tas kods man jaliek ?

Es varu vinu likt pie sava augstak noradita koda ? vai kautkur citur man tas jaliek ?

un vai $login_name man nav savadaks ?

 

Vai ari ja kads kam ir biski laika varat noka4at mo mu un sameklet mur kas jaliek un jamaina , tas butu jums daudz vieglak un atrak !

P.s pectam tikai pasakat man to vietu, php failu kura mans tas kods jaieliek !

luk link uz downloadu : http://www.failiem.lv/list.php?i=ylysvx

Edited by prokiller
Link to comment
Share on other sites

Vaimandieniņ vaimandieniņ! :)

Loģiski padomājot un pameklējot tu atrasu līgdzīgas lietas kur datus salīdzina tad arī nākamajā rindā iemetam šo "pregmaču" un esam priecīgi! :) Ja tu proti labot "bugus" tad no loģikas kaut kāda saprašana jau būs :)

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...