Vous n’êtes pas connecté.
![]() |
Code source |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 |
<table width="770" border="0" cellspacing="0" cellpadding="0"> <tr> <td height="25" class="text"></td> </tr> <tr> <td height="25" class="text"align="center"> <?php mysql_connect (localhost,****,****) or die ('Konnte keine Verbindung zur Datenbank herstellen'); mysql_select_db('****'); $res = mysql_query('select * from teilnehmer'); $num = mysql_num_rows($res); while ($dsatz = mysql_fetch_assoc($res)) { echo $dsatz["vorname"] ; echo $dsatz['nachname']." "; echo "( " .$dsatz['nickname']." )"; } ?> </td> </tr> <tr> <td height="1" bgcolor="#808080"></td> </tr> <tr> <td class="text" valign="top" >mous</a> </td> </table> |
TrOuble
God
Citation de "Shoggy"
edit: sinnvoller und auch sicherer wäre es natülich einen neuen User anzulegen, der lediglich die Rechte bekommt, die zum Ausführen des Scripts notwendig sind.
Citation de "Shoggy"
Da gibt's in dem Sinne keine Config Datei. Die Config ist quasi eine Tabelle inerhalb der Datenbank.
Citation de "Giffi"
*YOGi mal zurückknuff*. Unter SuSE findet man die Datei ebenfalls
sehr einfach ---> /etc/my.cnf
-