<?php
// This is for Central Standard Time
ini_set('date.timezone','America/Chicago');
echo '<p>'.date("g:i A").'</p>';
?>Mit der folgende Routine können URL´s mit Googles Kurz-URL Dienst goo.gl gekürzt werden. Das Script erfordert einen kostenlosen Google API Key.
function getgoogl($glurl, $apikey) {
$userurl = rawurlencode($glurl);
$ch = curl_init('https://www.googleapis.com/urlshortener/v1/url?key='.$apikey);
curl_setopt_array($ch, array(
CURLOPT_POST => TRUE,
CURLOPT_RETURNTRANSFER => TRUE,
CURLOPT_HTTPHEADER => array('Content-type: application/json'),
CURLOPT_POSTFIELDS => json_encode(array('longUrl' => $userurl))
));
$chresults = json_decode(curl_exec($ch));
curl_close($ch);
return $chresults->id;
}Mit Hilfe des HTML Graphs in PHP Scriptes können Sie coole HTML Charts in allen möglichen Variationen schnell und einfach erstellen. Englisch – Kostenlos
Zwei kleine Scripts, die das Übertragen von Nachrichten an Twitter ermöglichen. Englisch
Diese PHP Class kann über verschiedene Dateien oder auch Verzeichnisse suchen und ersetzen. Unterstützt Regular Expressions. Englisch – Kostenlos
A very easy to use yet powerful and quick template engine. Enables you to seperate your page layout/design from your code. It can handle simple variable replacement and table building using two dimensional arrays and/or MySQL result sets (Meaning that given a single row in the template, this class can build an entire table of data). Performance is good. Has support for multiple template files (which can actually improve performance in some cases).
Orginaltext des Autors: “max-> LoadChecker($) is detecting the exact amount of microseconds when it is called from the main script. Calculating then the difference between two values it will print out the exact time in millisecond taken to execute the selected part of the code. This Is a need for a developer who wants to have their software Run Fast.” Kostenlos
PHPBind ist eines PHP Class zum managen von BIND 8.2′s Konfigurations-Dateien. Das Script gibt volle Kontrolle über die Datei named.conf und den dazugehörigen Domain db Dateien. Englisch – Kostenlos
Diese PHP Classe simuliert einen Browser. Sie können damit problenlos Text, Links oder andere Inhalte von einer fremden Webseite holen. Unterstützt das Setzen von setting user_agent, cookies, referer usw. Englisch – Kostenlos
mailto.php dient dazu Emailadressen von Robots, welche Emailadressen “ernten” wollen zu verstecken. Englisch – Kostenlos
Klasse zur komfortablen Verwaltung von ini-Files. Einfachstes lesen, ändern der Werte und schreiben. Selbst Kommentare bleiben erhalten. Kann auch ini-Files komplett neu erstellen!