This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?PHP session_start(); ?> | |
<!-- Einfaches Kontaktformular --> | |
<?php | |
include_once("kontaktformular.php"); | |
echo kontaktformular(array("email1@adress.de","email2@adress.de"),"Kontaktformular","form1"); | |
?> | |
<!-- Kontaktformular mit Datei-Upload --> | |
<!-- Another contact-form --> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?PHP | |
function HelloWorld() { | |
echo "Hello World"; | |
} | |
HelloWorld(); | |
?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> | |
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="de" lang="de"> | |
<?PHP | |
//Beispiel-Datei zur Nutzung von echo_galpics.php | |
include_once("echo_galpics.php"); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
a[href^="http://"]:after { | |
content: "\f08e"; | |
font-family: FontAwesome; | |
font-weight: normal; | |
font-style: normal; | |
display: inline-block; | |
text-decoration: none; | |
padding-left: 3px; | |
} | |
/* Strip from links to own domain or with class no_icon */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Vorher (Zeile 471): | |
echo "<li".$class."><a ".$href." title=\"".$lightbox_title." - ".$echo_text."\">"._01gallery_getThumb($galverz,stripslashes($pics['filename']),"_tb")."</a></li>\n"; | |
// Nachher | |
echo "<li".$class."><a ".$href." title=\"".$lightbox_title."\">"._01gallery_getThumb($galverz,stripslashes($pics['filename']),"_tb")."</a></li>\n"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?PHP | |
$publicKey = "-----BEGIN PUBLIC KEY----- | |
MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDXJcP2N6NtcN26Q8nVaidXOA0w | |
RxWK2HQTblIaQdGRDjqTvhrSlFuV5N4jz7w/w8uskP20G7ZQ+CkHwIXrWk76KZJn | |
pdoOHPO6AqRmEFgV5Q6Y1CR77mvnT9O21hTnfzfyyiAdQC2oO8M9/jeLRPTAqmkG | |
xdQa8iepUz4BwrrHmwIDAQAB | |
-----END PUBLIC KEY-----"; | |
// Verify integrity of Payload | |
$result = openssl_verify($_POST['payload'], base64_decode($_POST['signature']), $publicKey); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?PHP | |
// MySQL-Einstellungen: | |
$host = "localhost"; //Host/Server ihrer Mysql-Datenbank | |
$database = "test"; //Datenbankname | |
$user = "user"; //Usernamen für Mysql-Datenbank | |
$passw = ""; //Passwort zur Mysql-Datenbank | |
$table = "mantis_plugin_source_changeset_table"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?PHP | |
$subfolder = "01scripts/"; // Unterverzeichnis | |
$modul = "01article"; // Modul- und Verzeichnisname (=ID-Name) | |
// ggf. ändern | |
$show['artid'] = "archiv"; | |
include($subfolder."01module/".$modul."/01article.php"); | |
?> |
NewerOlder