code Archive

  • Whos Online updated!

    Whos Online updated!

    I have been working on the simple function I created earlier. I have updated it and made it a little more complex, but has a few more options. I have turned it into a class and has the install function coded into it. Like I said, the same stuff can be done [...]

    Read More

  • Who’s Online Script Posted!

    Who’s Online Script Posted!

    I was messing around and realized there weren’t a lot of these around that were very simple to integrate into a website. It is VERY simple. I may go more advanced in the future, but right now it does the basics -> tells how many people are online.  Because it is simple, it [...]

    Read More

  • jQueryui drop down menu

    jQueryui drop down menu

    I was going to title this post: “jQuery, your friend and enemy” because I spent close to 2 hours today hating it and thinking of coding my own functions rather than trying to work with it. Eventually I figured out what I was doing and made it work beautifully with the custom ui template [...]

    Read More

  • PHP/Perl If trick using ? and :

    PHP/Perl If trick using ? and :

    Most experienced programmers already know this, but this is a quick trick that will save you a few lines of code if you have a really simple if-statement to display one thing or another. This works with both PHP and Perl and will help you cut down some coding time. For this post [...]

    Read More

  • PHP IRC Bot Class

    PHP IRC Bot Class

    I just added an updated version of my PHP IRC Bot Class to the code bin. Basically it is a class that anyone can use to create a PHP bot that connects to any IRC network in just a few lines of code. Full documentation is provided.

    Read More