Search a body of text for the most common words. <?php function commonWords($string, $max = null, $file = 'stopwords.txt'){ $handle =...
This Snippet will check and see if if a user is logged in or not. functions.php <?php function loggedIn(){ //Session logged is set if the...
<?php function text2bbc($text){ $find = array( '~\[b\](.*?)\[/b\]~s', '~\[i\](.*?)\[/i\]~s',...
User Allow To Download In 3 Seconds <?php // if name via get equals 'download", show the downloading message. if($_GET['name'] == "download"){...
Separate names with a comma.