Azi am observat ca apare o problema la login si anume:
eu am nickname-ul KomyOmy cu K si O mare, pe care il am de cand mi-am facut contul pt ca asa l-am scris, daca incerc sa ma conectez cu el asa komyomy adica cu k si o mic si incer sa intru in profilul meu cu link gen domeniu.ro/profile.php?action=profile&user=KomyOmy aceasta conditie
Cod: Selectaţi tot
if ($_SESSION['user'] == $row_get_user['user'])
{
echo"<div style='float:right;'>
<a href='profile.php?action=settings&user=".$_GET['user']."'><img src='images/settings.png' title='Settings' alt=''</a>
<a href='profile.php?action=edit_profile&user=".$_GET['user']."'><img src='images/edit_profile.png' title='Edit profile' alt=''</a>
</div>";
}
din acesta portiune de cod
Cod: Selectaţi tot
$get_user_SQL = mysql_query('SELECT * FROM users WHERE user="'.$_GET['user'].'"');
while($row_get_user = mysql_fetch_array($get_user_SQL))
{
$get_bdate=substr($row_get_user['bdate'],0,strpos($row_get_user['bdate'],'.'));
$get_now=date('Y');
$get_age=$get_now - $get_bdate;
echo"<div class='profile'>
<table class='tb_profile' border='0' width='640'>
<tr>
<td colspan='3' height='26'>
<img src='images/user_icon.png' alt=''/><font size='4'> ".$row_get_user['user']." 's profile:</font>";
if ($_SESSION['user'] == $row_get_user['user'])
{
echo"<div style='float:right;'>
<a href='profile.php?action=settings&user=".$_GET['user']."'><img src='images/settings.png' title='Settings' alt=''</a>
<a href='profile.php?action=edit_profile&user=".$_GET['user']."'><img src='images/edit_profile.png' title='Edit profile' alt=''</a>
</div>";
}
echo"<div style='border-top: 1px solid #A9A28C;margin-top:5px;margin-bottom:5px;'></div></div></td>
</tr>
<tr>
nu mai e valabila, continutul ei nu-mi mai apare...pe cand daca ma conectez cu nickname KomyOmy tot e in regula.
Cum as putea rezolva?Are legatura cu literele din nickname adica apar diferente intre literele mari si cele mic sau e altceva?