• Feed
  • About The Blog

    The Blogosaurus is a company technology blog from Louisville Web Development firm MIB Solutions. The issues on or blog range from our personal use of Wordpress, Joomla, PHP and Database programming, AJAX, Flash, and other web development languages and tools we use on our client's projects.

    The Blogosaurus was born in 2008, and continues to be a resources for Internet professionals and Google searches alike.

  • Categories

  • Archives

  • Recent Posts

  • Our Analytics


    9,383
    Unique
    Visitors
    Powered By Google Analytics
  • Look Around

  • Recent Posts

  • Categories

  • php

    « Previous Entries

    PHP Switch Statement

    Thursday, July 16th, 2009

    The PHP language, as we have seen in our past PHP tutorials, is very versatile and already has thought of issues you are now trying to find answers for. One example of a great example of this would be the Switch Statement in PHP. The PHP code reviews every possibility you have, and if one [...]

    Introducing ElseIf to your PHP

    Wednesday, July 15th, 2009

    I’ve always been very indecisive when it comes to just about everything, so the option for an ‘elseif” in PHP runs right up my alley. Following our previous discussion on PHP IF Statements, the elseif introduces more options for your script to run with.
    if ($a < $b) {
    echo “$a is smaller than $b”;
    }
    elseif ($a == [...]

    PHP Still Top Programming Language

    Tuesday, July 14th, 2009

    According to the annual TIOBE List of top programming langauges, PHP is still in the top 4, directly following software languages. PHP is the most used web language according to their annual list, and close behind PHP at number 7 interestingly is Python [I will say it here and make it official: I believe Python [...]

    The IF Statement

    Monday, July 13th, 2009

    I love talking to my programmers or other developers, and sounding hip and chic throwing around the following “Just use an IF statement and it shoud work”. The PHP “if” statement is actually just like it sounds, IF something happens THEN this will happen. If not (ELSE), THEN this will happen as a result. Let’s [...]

    The PHP Concatenation Party!

    Monday, July 13th, 2009

    PHP likes to use weird names when describing something, so don’t let this throw you when you first start working with this language. Let’s look at the Concatenation Operator, which allows for us to put together two strings as one string in PHP. Review the following code,
    $one=”Zach is Awesome!”;
    $two=”You are not as awesome as Zach!”;
    echo [...]

    PHP Variable Introduction

    Monday, July 13th, 2009

    When working with PHP Variables, you will see they are the best tool you can use in PHP. However, it is best to understand the small rules surrounding variables, and what you shouldn’t use when naming them.

    A variable name must start with a letter or an underscore “_”
    A variable name can only contain alpha-numeric characters [...]

    Helping to Remove SQL Injection in Your PHP Code

    Saturday, July 11th, 2009

    The above comic from xdcd is so funny. Bobby Tables!
    Following my previous post about SQL Injection attacks, and what bad PHP code can do to your project and/or client, I wanted to pass along some important info on how to protect your code.
    Let’s say you have an input the end-user can acess. If you put [...]

    SQL Injection Attacks

    Friday, July 10th, 2009

    While working on a simple php script, I learned I was opening myself up for “ripe SQL Injection” per a developer’s exact words. SQL Injection is an interesting and valuable issue on PHP to discuss and research. While reviewing the Wiki article about SQL Injection, I was intrigued by some attacks,

    On October 26, 2005, Unknown [...]

    Making PHP work with .asp

    Friday, May 29th, 2009

    For some reason I have been working with an .asp website. I needed to input a code which would pull data from their RSS of the company blog and display said data on the front page. Had no idea how to do it in .asp scripting and really didn’t want to! So I learned of [...]

    Manage Your Advertising With Ease

    Saturday, January 10th, 2009

    Wordpress is such an amazing system to use, that when a task that could be large, such as working with advertising spots in your website is easy if you know a bit of php code. With my recent project for traveling Navy Seal at Seal Adventures, the client wanted five advertising locations throughout his website.  [...]

    « Previous Entries