Sean McNamara

Student / Programmer / Game Enthusiast

Entries Tagged ‘PHP’

Create a URL Shortener With Your Domain

If you use URL shortening services like TinyURL, it may be worth your while to setup a domain shortening service on your own domain. This is quiet easily done with a WordPress plugin now. YOURLS is a free PHP script created by Lester Chan and Ozh Richard that allow you to create something similar to [...]

Snipt.net – Store your Code Snippets Online

Often when your programming well you find yourself with a lot of reusable or recyclable code. Everyone has their own little way of keeping all this code and organizing it etc. etc. for their next project. However today I found a great website now that I need my code snippets in more than one place, [...]

Learn PHP: Class Three

Today we are going to learn all about include and require! Include and require are handy to use not only in your php applications, but in general website design for sidebar’s and what not! So.. yeah.. Moving on! Include and Require include a file within another PHP script. There are four ways of doing this: [...]

Sneak Peak of Red Republic

Recently I’ve been working on a friend of mine Roger’s game. Tonight I was coding the profile pages, one of the more easier and mundane tasks. I still find it fun to do though! So said with my acomplisments so far I’d give a little sneak peak into the next generation of text-based games! To [...]

Learn PHP: Class Two

Moving on to Class II after a long break! We will today cover PHP’s If Else Statements. Here is one in action: if ($condition) { echo “condition is true”; } Simple enough? To start with as you can see you first write the statement name, in this case “if”. Then you enclose your condition in [...]

Learn PHP: Class One

So now that we have done the Prep Class its time to move on to the actual learning! Echo’ing: echo “text here”; OR echo ‘text here’; Simple as that, thats how you get PHP to output some text. Whichever you use is really up to you, there is pros and cons to what you can [...]

Learn PHP: Prep

Nearly two or three times every week I get someone asking me to teach them how to program, many of these are from an online game I help out with called Injustice. Its amazing really that people that there is some hidden secret to coding and that I can just send you a link or [...]

Legit Life

Website Name: Legit Life Development Stage: Pre-Alpha Project Started: July 2006 Legit Life, is an online text based timer game in which you aim to become the strongest character! It is expected to release in Alpha stages in early September. With this project being kept top-secret and under wraps the last year it will be [...]