• Login
  • Become a blogger
  • PHP


    Undefined variable error on Seyret Joomla component

    Posted on Friday, December 14th, 2007 by thinkdj

    Was working on Seryet all day to fix errors like
    Notice: Undefined variable: fullmd5cachefile in \localhost\components\com_seyret\plugins\videoserver\metacafe.php on line 226
    Notice: Undefined variable: vdlink in \localhost\components\com_seyret\plugins\videoserver\metacafe.php on line 226
    Notice: Undefined variable: fullmd5cachefile in components/com_seyret/plugins/videoserver/google.php on line 399
    Notice: Undefined variable: showfrombackupbutton in components/com_seyret/seyret.php on line 2115
    Finally figured out a way to get rid of these ..
    Open up [...]

    Browser Detection with PHP

    Posted on Wednesday, December 5th, 2007 by thinkdj

    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 includes details of the user’s browser:
    [browser_name_regex] => ^mozilla/5.0 (windows; .*; windows nt 5.1.*) gecko/.* firefox/1.5.*$
    [browser_name_pattern] => Mozilla/5.0 (Windows; *; Windows NT 5.1*) [...]

    PHP Script – Open port check

    Posted on Friday, November 16th, 2007 by thinkdj

    Got this from Vinu’s blog. This simple script will attempt to connect to the site:port using fsockopen to determine if a service is running on the port.
    < ?php

    $site = “vinuthomas.com”;
    $port = 80;
    $fp = fsockopen($site,$port,$errno,$errstr,10);
    if(!$fp)
    {
    echo “Cannot connect to server”;
    }
    else{
    echo “Connect was successful – no errors on Port “.$port.” at “.$site;
    fclose($fp);
    }
    ?>

    PHP module for MAC OS X

    Posted on Wednesday, November 14th, 2007 by thinkdj

    This particular build of the module is based on the most recent version 5.2.4 of the software. It runs on Mac OS X version 10.4/Tiger and is built as Universal Binary for compatibility with both Intel and PPC Macs. This module will only work with the original Apache web server as shipped by Apple.

    PHP 5 [...]

    PHP 5.2.5

    Posted on Wednesday, November 14th, 2007 by thinkdj

    PHP is a widely-used general-purpose server side scripting language that is especially suited for Web development and can be embedded into HTML. Much of its syntax is borrowed from C, Java and Perl with a couple of unique PHP-specific features thrown in. The goal of the language is to allow web developers to write dynamically [...]

    Exclude categories from wordpress frontpage

    Posted on Monday, November 12th, 2007 by thinkdj

    I stumbled upon this when Blogulate.com’s first post was made. I didnt want the Blog Reviews to appear on the homepage.
    This is actually very simple. All you have to do is modify some PHP code.
    First, goto Manage > Categories and get the ID of the Category you wish to exclude. Then, go to WP admin [...]

    More from "PHP"

    Find what you are looking for

    Recently added

    Categories

    Blogulate

    Keeping you updated of the latest fads and developments of the industry via amalgamated web content.

    Join us

    Post articles on blogulate and monetize them. Learn more »

    Stay updated

    Subscribe now and stay aware of the latest trends and happenings on the www. Get notified via email when we update.

    Enter your email address:

    Blogulate is based on Magnus premium theme by WizeDesigns
    © 2009 Blogulate. Some rights reserved.