Trojaner-Board

Trojaner-Board (https://www.trojaner-board.de/)
-   Alles rund um Windows (https://www.trojaner-board.de/alles-rund-um-windows/)
-   -   Message - Service (cgi) (https://www.trojaner-board.de/5089-message-service-cgi.html)

hel 01.04.2003 14:52

Hi leute!
Ich suche ein CGI - Script, wo man (auch als Gast) eine Nachricht in eine Textzeile schreiben kann und diese dann in eine Datenbank eingetragen wird - kennt da zufällig einer von euch eine Seite, wo man solche Scripts findet?

Gruss,
:D hel

Kistbier 01.04.2003 15:02

</font><blockquote>Code:</font><hr /><pre style="font-size:x-small; font-family: monospace;">&lt;?php

$conn = @mysql_connect(&quot;host&quot;, &quot;user&quot;, &quot;pass&quot;) or die(mysql_error());

@mysql_select_db(&quot;db&quot;, $conn);

$sql = &quot;insert into tabelle (text)&quot;;
$sql .= &quot; values &quot;;
$sql .= &quot;('&quot;. addslashes($text) .&quot;')&quot;;

@mysql_query($sql) or die(mysql_error());

?&gt;</pre>[/QUOTE]da pappste jetzt noch nen vernünftige fehler-abfangjäger davor und fertich.


Alle Zeitangaben in WEZ +1. Es ist jetzt 06:11 Uhr.

Copyright ©2000-2025, Trojaner-Board


Search Engine Optimization by vBSEO ©2011, Crawlability, Inc.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19