Leser: 1
|< 1 2 3 4 5 >| | 48 Einträge, 5 Seiten |
UPDATE `itemstats` SET `H$hour` = H$hour+1,`H$wday` = H$wday+1, letzteraufruf = $time WHERE item = '$item' and user = 'User' and galerie = '1'; drop tables;
Quotehttp://localhost/manual/howto/cgi.html#scriptaliasScriptAlias
The ScriptAlias directive tells Apache that a particular directory is set aside for CGI programs. Apache will assume that every file in this directory is a CGI program, and will attempt to execute it, when that particular resource is requested by a client.
Quotehttp://localhost/manual/mod/mod_alias.html#scriptaliasScriptAlias directive
Syntax: ScriptAlias URL-path file-path|directory-path
Context: server config, virtual host
Status: Base
Module: mod_alias
The ScriptAlias directive has the same behavior as the Alias directive, except that in addition it marks the target directory as containing CGI scripts that will be processed by mod_cgi's cgi-script handler.
1
2
3
$dbh = DBI->connect("DBI:mysql:$datenbank:$datenbankhost","$datenbankuser","$datenbankpw") || fehlerausgabe($fehlermeldung);
$dbh->do (qq~UPDATE `itemstats` SET `H$hour` = H$hour+1,`H$wday` = H$wday+1, letzteraufruf = $time WHERE item = '$item' and user = '$FORMDATA{User}' and galerie = '$FORMDATA{Galerie}'~);
$dbh->disconnect; # DB Connect beenden
|< 1 2 3 4 5 >| | 48 Einträge, 5 Seiten |