<?php echo strtotime("now"), "\n"; echo strtotime("10 September 2000"), "\n"; echo strtotime("+1 day"), "\n"; echo strtotime("+1 week"), "\n"; echo strtotime("+1 week 2 days 4 hours 2 seconds"), "\n"; echo strtotime("next Thursday"), "\n"; echo strtotime("last Monday"), "\n"; ?>
Etiket arşivi: Php
PHP UNIXTIME TO DATA TİME PARSE
@setlocale(LC_ALL, "Turkish_Turkey.65001"); echo iconv("ISO-8859-9","UTF-8",strftime("%d %B %Y - %H:%M", 1282788068));
Php ile Google CAPTCHA
Php ile Google tarzı CAPTCHA (İnsan doğrulama kodu) class’ı.
Örnek : http://www.mehmetmutlu.com.tr/wp-content/uploads/2010/09/captcha/ornek.php
İndir : http://www.mehmetmutlu.com.tr/wp-content/uploads/2010/09/captcha/captcha.rar
Kaynak : Cool-php-captcha
Php yüz algılama class
php ile yüz algılama classı
http://www.mehmetmutlu.com.tr/wp-content/uploads/2010/08/Face_Detector.rar
PHP ile MAİL GÖNDERME CLASS (phpmailer)
ornek.php
<?php
include(“class.phpmailer.php”);
$mail = new PHPMailer();
$mail->IsSMTP();
$mail->From = ‘user@mandalina.biz';
$mail->FromName = “MEHMET MUTLU”;
$mail->Host = “mail.mandalina.biz”;
$mail->SMTPAuth = “true”;
$mail->Username = “user@mandalina.biz”;
$mail->Password = “şifre”;
$mail->Mailer = “smtp”;
$mail->Port = 587;
$mail->IsHTML(true);
$mail->SMTPDebug = false;
$mail->Subject = “test email konusu”;
$mail->Body = “test email metni”;
$mail->AddAddress(“info@mehmetmutlu.com.tr”);
$mail->AddCustomHeader(“Content-Type: text/html; charset=utf-8\n”);
if(!$mail->Send()){
echo “Hata mesajiniz iletilemedi!”;
}else{
echo “Mesajiniz Iletildi!”;
}
?>
ÖRNEK İÇİN
http://www.mehmetmutlu.com.tr/wp-content/uploads/2010/07/php_email_gonderme_class.rar