Recent Posts

Blogulate

Blogulate

Return To Blog Listing

Tech, reviews, tips n tricks, internet, business news, humor and what not!

Search This Blog's Tags For:

Recent Posts Tagged With 'php'

  • PHP function for Javascript redirect

    Posted on Saturday January 26th, 2008 at 08:05 in php, scripts

    The following code is basically JS, but has been made into a PHP function so that it could be invoked with different parameters as per our needs. <?php function js_redirect($url, $seconds=5) { echo “<script language=\”JavaScript\&...

  • Spellify : automatic input field spell check

    Posted on Saturday January 26th, 2008 at 08:00 in php, scripts

    Spellify automatically checks for spelling errors on user entered text in input text fields. Spellify is powered by the Googleâ„¢ spell checker. You can see a demo at te homepage and also download the latest version there. Spellify not only works for...

  • Great looking charts in seconds with Open Flash Chart

    Posted on Saturday January 26th, 2008 at 07:26 in php, scripts, developers

    Open Flash Chart lets you make great chart/pie representations from you data for a great looking output. The data file is either a text file, or a .php, Perl, Python, Java (or another flavour of dynamic) page. Open Flash Chart, is open source. It i...

  • PHP Performance Benchmark Script

    Posted on Thursday December 27th, 2007 at 20:40 in php, scripts

    /* PHP Performance Benchmark Script Copyright 2003 : PHP Consulting There are two settings: First, set $file to be the server and page that you want to benchmark. Secondly, set $iter to be the number of times you want it loaded. */ error_repor...

  • Remove invalid characters from a filename

    Posted on Wednesday December 26th, 2007 at 22:12 in php

    function filename_safe($filename) { $temp = $filename; // Lower case $temp = strtolower($temp); // Replace spaces with a '_' $temp = str_replace(" ", "_", $temp); // Loop through string $result = ''; for ($i=0; $i if (preg_match(’([0-9]|[...

  • Browser Detection with PHP

    Posted on Wednesday December 5th, 2007 at 04:46 in php, scripts

    Did you know that PHP has a built in function to detect which browser your page visitor is running? Try : < ? $get_visitor_browser = get_browser(null,true); print_r($get_visitor_browser); ?> The output of this function is an object which incl...