Get Even More Visitors To Your Blog, Upgrade To A Business Listing >>

Blog Directory  >  Software Blogs  >  Programming Blogs  >  Smash Scripts programming Blog  > 

Smash Scripts Blog


smashscripts.blogspot.com
Smashscripts.blogspot.com provides free Latest script , quality scripts ASP,ASP.NET,PHP,Javascript,VB Scripts,free php scripts,download a php from a website, php books free download,php website counter,php scripts download.
2009-10-02 07:59
function fnReadFromFile($sFileName) { $sReturn = ''; $fHandle = fopen($sFileName, "r"); while (!feof($fHandle)) $sReturn .= fread($fHandle, 4096); fclose($fHandle); return($sReturn);… Read More
2009-10-02 07:55
//function CheckRadio_2() { if(document.getElementById("checkbox_email_backup").checked) { successmail = CheckEmail(); if(successmail) { if(document.getElementById("mail_hosts")… Read More
2009-05-13 05:58
function fnUSStatesOptionsList($varSelected = "al") { $varStatesList = array( "--" => " ", "al" => "Alabama", "ak" => "Alaska", "ar" => "Arkansas", "az" => "Arizona", "… Read More
2009-05-13 05:55
function fnCountryOptionsList($varSelected = "us") { $varCountryList = array( "ac" => "Ascension Island", "ad" => "Andorra", "ae" => "United Arab Emirates"… Read More
2009-05-13 05:50
function LoadTxt($fn){ global $ewPathDelimiter; // Get text file content $filepath = realpath(".") . $ewPathDelimiter . $fn; $fobj = fopen ($filepath , "r"); return fread ($fobj, filesize… Read More
2009-05-13 05:49
function LoadEmail($fn){ global $sEmailSubject; global $sEmailFrom; global $sEmailTo; global $sEmailCc; global $sEmailBcc; global $sEmailFormat; global $sEmailContent; $sWrk = LoadTxt($fn);… Read More
2009-04-07 06:17
function rcurrency( $s ) { if ( ( string ) $s === "" ) { return "-"; } else { return sprintf( "€ %s", number_format( $s, 2 ) ); } }Disclaimer: Any code or advice given is for… Read More
2008-08-01 04:41
function ConvertDateToMysqlFormat($dateStr){ @list($datePt, $timePt) = explode(" ", $dateStr); $arDatePt = explode(EW_DATE_SEPARATOR, $datePt); if (count($arDatePt) == 3) { switch (D… Read More
2008-08-01 04:21
function ewTrace($msg) { $filename = "debug.txt"; if (!$handle = fopen($filename, 'a')) exit; if (is_writable($filename)) fwrite($handle, $msg . "\n"); fclose($handle);}Disclaimer: A… Read More
2008-08-01 04:20
function ewTrim($str) { $temp = trim($str); if (strtolower($str) == "null") return ""; if (substr($temp, 0, 1) == "`" && substr($temp, -1, 1) == "`") { $temp = substr($temp, 1, -1);… Read More
2008-08-01 04:19
function FormatCurrency($amount, $NumDigitsAfterDecimal, $IncludeLeadingDigit, $UseParensForNegativeNumbers, $GroupDigits){ // export the values returned by localeconv into the local scope i… Read More
2008-08-01 04:14
function DateDiff($interval, $date1, $date2) { // Function roughly equivalent to the ASP "DateDiff" function //convert the dates into timestamps $date1 = strtotime($date1); $dat… Read More
2007-06-29 06:23
############################################################################ Function to Convert any HTML file into PDF Can save into a pdf file on server, or stream to the user's browser If… Read More
2006-06-07 11:16
function fnURL2PDF($varURL, $varFileName = "pdf.pdf", $varSavePath = "") { $varSocket = fsockopen("www.easysw.com", 80, $errno, $errstr, 1000); if (!$varSocket) die("$errstr ($errno)\n");… Read More
2006-06-07 11:16
function fnRandomPasswordGenerator($length = 6) { $pass = ''; $new = ''; // all the chars we want to use $all = explode(" ", "a b c d e f g h i j k l m n o p q r s t u v w x y z "… Read More
2006-06-07 11:16
function fnValidateEmail($varEmail) { if(eregi("^[_a-z0-9-]+(\.[_a-z0-9-]+)*@[a-z0-9-]+(\.[a-z0-9-]+)*(\.[a-z]{2,3})$", $varEmail)) return(true); else return(false); }Disclaimer: Any c… Read More

Share the post

Smash Scripts

×

Subscribe to Smash Scripts

Get updates delivered right to your inbox!

Thank you for your subscription

×