Jelly Bean released for Sprint

October 25, 2012

Its official Jelly bean has been released for the Galaxy S III on sprint. To try and force the update go into settings -> Google Services Framework. Then Clear Data. Once that has been done go back to settings and check for update. It may require repeating this process several times but eventually the update will appear […]

Regular Expressions in PHP quick reference

October 22, 2012

Expression Will match… text the string “text” ^text “text” at the start of a line text$ “text” at the end of a line ^text$ “text” when it is alone on a line [Tt]ext “Text” or “text” [abc] a, b, or c [^abc] d, e, f, g, h, etc – everything that is not a, b, […]

Send Mail with PHP and SMTP

September 3, 2012

If you are using Cpanel first install the Pear Mail. To do so go to Software/Service and find PHP Pear Packages Like so: Once You have clicked on PHP Pear Packages you will type in Mail: This will allow you to search for the PHP Pear Mail package. You will see it listed like so: […]

Finding visitors IP address using PHP

June 3, 2012

There are 2 was to find a users IP address using PHP. The method you will need to use depends on the server setup(or more directly the php.ini setup). To find your current setup you can simply create a file named phpinfo.php, info.php or whatever you would like it to be named. In the file […]

Integrating Twitter feed into your page

April 13, 2012

Integrating Tweets into your page is not as difficult as one may think. The first step is to find your twitter RSS feed. It would look something like: https://api.twitter.com/1/statuses/user_timeline.rss?screen_name=Your_User_name Once you have your RSS Feed URL the following snippet of php will get your tweets: $doc = new DOMDocument(); if($doc->load(‘http://api.twitter.com/1/statuses/user_timeline.rss?screen_name=Your_User_name’)) { $max_tweets = 5;   […]

Using SSL with WordPress

February 22, 2012

If you have an SSL setup for your domain, it is pretty simple to set wordpress to use https. If you want the entire site to use https, you can set it under settings for your Site URL. Sometimes though you want only a specific page using https. To do that you need to know […]