Skip to content

Instantly share code, notes, and snippets.

View privatehosting's full-sized avatar

PrivateCityHosting privatehosting

View GitHub Profile
@privatehosting
privatehosting / function.IsValideEmail.php
Created April 25, 2014 00:25
Nachfrage ob eMail Adresse Valide ist und ob der Mail Server auch in der Domain Eingetragen wurde.
<?php
function IsValideEmail($email)
{
//$email = strtolower($email); ;; Groß und Kleinschreibung wird im eMail Verkehr berücksichtigt.
$return = false;
if(filter_var($email, FILTER_VALIDATE_EMAIL))
{
list($user, $host) = explode("@", $email);
if(checkdnsrr($host, "A") && checkdnsrr($host, "MX"))
{
<?php
/**
* @param GetAlphapet
* @link http://www.asciitable.com/
* @author 2010 PrivateCityPage
* @author 2014 Dominik Pilichiewicz
*/
function getNextABC($gbuchstabe = false)
@privatehosting
privatehosting / fun.php
Last active October 7, 2015 14:28
This is a Command Test. I wanted to test some cmd - routines. This Code is from 2009
<?php
define("DEBUG", cmd_exists("--debug"));
cmd_echo("Ein Aus langeweile gemachter Script!");
$eingabe = false;
while(strstr(strtolower($eingabe),"fu") == FALSE)
{
if($eingabe != false) {
cmd_echo ("Deine Angabe: {$input} ist falsch! Versuch es erneut!");
}