Stavo guardando i sorgenti di php my admin nella pagina per stampare una tabella ed ho notato un errore:
Codice HTML:
<!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" xml:lang="it" lang="it" dir="ltr">
<head>
<link rel="icon" href="./favicon.ico" type="image/x-icon" />
<link rel="shortcut icon" href="./favicon.ico" type="image/x-icon" />
<title>Risultato SQL - phpMyAdmin 2.11.11.3</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" type="text/css" href="phpmyadmin.css.php?token=dcf5756772a0af75f20236a8eaa3074a&js_frame=print&nocache=3885196779" />
</style>
</head>
<body bgcolor="#ffffff">
<h1>Risultato SQL</h1>
<p>
<b>Host:</b> localhost<br />
<b>Database:</b> my_partypoints<br />
<b>Generato il:</b> 01 Mar, 2013 at 04:37 PM<br />
<b>Generato da:</b> phpMyAdmin 2.11.11.3 / MySQL 5.1.58-community-log<br />
<b>query SQL:</b> SELECT * FROM `sicurezza_utenti`
LIMIT 0, 30 ;
<br />
<b>Righe:</b> 3 </p>
<table id="table_results" class="data">
<thead><tr>
<th>id
</th><th>id_utente
</th><th>data_operazione
</th><th>ip_operazione
</th><th>operazione
</th></tr>
</thead>
<tbody>
<tr class="odd">
<td align="right" class=" nowrap">1</td>
<td align="right" class=" nowrap">604</td>
<td class=" nowrap">2013-03-01 16:31:48</td>
<td class="">94.36.241.251</td>
<td class="">Cambiato username (Sergio123@°#à@ç/\) in "Sergio123@°#à@ç/\"!£$%&*-+.;§" e email (jacopotediosi@gmail.com) in "jacopotediosi@gmail.com"</td>
</tr>
<tr class="even">
<td align="right" class=" nowrap">2</td>
<td align="right" class=" nowrap">604</td>
<td class=" nowrap">2013-03-01 16:34:53</td>
<td class="">94.36.241.251</td>
<td class="">Cambiato username Sergio123@°#à@ç/\ in "Sergio123@°#à@ç/\"!£$%&*-+.;§" e email (jacopotediosi@gmail.com) in "jacopotediosi@gmail.com"</td>
</tr>
<tr class="odd">
<td align="right" class=" nowrap">3</td>
<td align="right" class=" nowrap">604</td>
<td class=" nowrap">2013-03-01 16:36:56</td>
<td class="">94.36.241.251</td>
<td class="">Cambiato username (Sergio123@°#à@ç/\"!£$%&*-+.;§) in "Sergio123@°#à@ç/\"!£$%&*-+.;§" e email (jacopotediosi@gmail.com) in "jacopotediosi@gmail.com"</td>
</tr>
</tbody>
</table>
<script type="text/javascript">
//<![CDATA[
// Do print the page
window.onload = function()
{
if (typeof(window.print) != 'undefined') {
window.print();
}
}
//]]>
</script>
<script type="text/javascript">
//<![CDATA[
// updates current settings
if (window.parent.setAll) {
window.parent.setAll('it-utf-8', 'utf8_unicode_ci', '1', 'my_partypoints', 'sicurezza_utenti', 'dcf5756772a0af75f20236a8eaa3074a');
}
// set current db, table and sql query in the querywindow
if (window.parent.reload_querywindow) {
window.parent.reload_querywindow(
'my_partypoints',
'sicurezza_utenti',
'');
}
if (window.parent.frame_content) {
// reset content frame name, as querywindow needs to set a unique name
// before submitting form data, and navigation frame needs the original name
if (typeof(window.parent.frame_content.name) != 'undefined'
&& window.parent.frame_content.name != 'frame_content') {
window.parent.frame_content.name = 'frame_content';
}
if (typeof(window.parent.frame_content.id) != 'undefined'
&& window.parent.frame_content.id != 'frame_content') {
window.parent.frame_content.id = 'frame_content';
}
//window.parent.frame_content.setAttribute('name', 'frame_content');
//window.parent.frame_content.setAttribute('id', 'frame_content');
}
//]]>
</script>
</body>
</html>
Come potrete notare è presente un tag di chiusura (</style>) quando non è mai stato effettivamente aperto.
Cordiali saluti