PHP ile oluşturulmuş olan sitedeki online kullanıcı sayısını gösteren bir örnek

<? 
################################################################################
# Project     : Aktif Kullanıcı Sayısı                                         #
# File name   : aktifkullanici.php                                             #
# Version     : 1.00                                                           #
# Modified By : Saydek                                                     #
# Email       : info@saydek.org                                           #
# Copyright   : (c) 1996 by Saydek (http://www.saydek.org)    #
################################################################################
# Configuration Info                                                           #
################################################################################

$server         	= "localhost"; //Your MySQL Server (usually "localhost")
$db_user        	= "username_phpuser"; // Your MySQL Username
$db_pass        	= "password";		// Your MySQL Password
$database       	= "username_phpUseronline";	// Database Name

$timeoutseconds 	= 300;			// Timeout Value in Seconds

################################################################################
# End Configuration - DO NOT EDIT BEHIND THIS LINE!!!                          #
################################################################################

Php Radyoda Çalan Şarkıyı Gösterme kodu

<?php
/*

Live SHOUTcast statistics for multiple servers

This script is (C) Saydek.org 1998

If you use this script, please leave the copyright
Turkey Webmaster Saydek

Version: v1.0

*/
/* ———- General configuration ———- */

$station_name = “Radio Station Name”;

$refresh = “60”;  // Page refresh time in seconds. Put 0 for no refresh
$timeout = “1”; // Number of seconds before connecton times out – a higher value will slow the page down if any servers are offline

/* ———– Server configuration ———- */

// Note: dont include http://
// Main server: The song title will be taken from this server

$ip[1] = “yayin.saydek.org”;
$port[1] = “8080”;

/* Relays: Below you can enter more relays / restreams / channels / competitors or anything else */

/* —– No need to edit below this line —– */
/* ——————————————- */
$servers = count($ip);
?> Okumaya devam et Php Radyoda Çalan Şarkıyı Gösterme kodu

Php mail gönderme kodu

<?php

$subname = $_POST[‘subname’];
$port = $_POST[‘port’];
$ip = $_POST[‘ip’];

$mailtanim = “MIME-Version: 1.0rn”; // bu kısım tanımlama kısmı
$mailtanim .= “Content-type: text/plain; charset=iso-8859-9rn”;
$mailtanim .= “From: $name <$subname>rn”;
$mailtanim .= “Reply-To: $name <$port>rn”; Okumaya devam et Php mail gönderme kodu