Our online blog

Archive for March, 2009

Detecting iPhone, Blackberry etc using ColdFusion

Sunday, March 29th, 2009

Many of our clients have been asking about detecting if a user is using a blackberry or iPhone etc to view their website and redirect to a mobile version of their websites. Well we have put together a little bit of code to do this:

Code example:

<cfif findNoCase('blackberry', CGI.HTTP_USER_AGENT)>
<cflocation url="http://blackberry.yourdomain.com" addtoken="no">
<cfelseif findNoCase('iphone', CGI.HTTP_USER_AGENT)>
<cflocation url="http://iphone.yourdomain.com" addtoken="no">
<cfelseif CGI.HTTP_ACCEPT CONTAINS "text/vnd.wap.wml">
<cflocation url="http://wap.yourdomain.com" addtoken="no">
</cfif>

Hope you enjoy this code snippet.

Corporate Site Re-Design

Tuesday, March 17th, 2009
AeonCube Networks Re-Design

Over the past 3 months the AeonCube Network team has been designing, developing and researching a new website design for the top level of our network.

We are very happy to say this has now been finished and with only small after live amends to be finished the site is running online now.

The new site comes with more features and better user interface to allow our customers / clients to login and access their brought products.

As well as the new design we are proud to say we have upgraded our US Linux ColdFusion from 7 to 8 so we hope to use some of the great features from ColdFusion 8 with the site.

More features are planned for the website in the near future such as more paid items to be downloadable and paid through the website.

Hope you enjoy the new design, please visit: http://www.aeoncubenetworks.com/

PHP_MING Hosting

Monday, March 16th, 2009

Over the past week we have had php_ming on our Linux cPanel servers to work with and many of our customers have already found this feature as a great use.

We offer PHP_MING with all our cPanel Linux hosting, see below for a list of hosting packages:

What is PHP_MING (Taken from PHP.net)

First of all: Ming is not an acronym. Ming is an open-source (LGPL) library which allows you to create SWF (“Flash”) format movies. Ming supports almost all of Flash 4′s features, including: shapes, gradients, bitmaps (pngs and jpegs), morphs (“shape tweens”), text, buttons, actions, sprites (“movie clips”), streaming mp3, and color transforms –the only thing that’s missing is sound events.

Note that all values specifying length, distance, size, etc. are in “twips”, twenty units per pixel. That’s pretty much arbitrary, though, since the player scales the movie to whatever pixel size is specified in the embed/object tag, or the entire frame if not embedded.

Ming offers a number of advantages over the existing PHP/libswf module. You can use Ming anywhere you can compile the code, whereas libswf is closed-source and only available for a few platforms, Windows not one of them. Ming provides some insulation from the mundane details of the SWF file format, wrapping the movie elements in PHP objects.

Ming was added in PHP 4.0.5.

To view the module is supported on our cPanel servers please use the following URL:

http://www.hostmediauk.com/info.php#ming

Learn more about PHP Ming

We have created a small example demo of PHP Ming and put together some information at:

http://www.hostmediauk.com/web-hosting/php-ming-hosting.php

Using Coldfusion tag: CFFEED

Friday, March 6th, 2009

Using the ‘cffeed’ allows you to read any websites RSS feed and display it within your coldfusion page. The ‘cffeed’ tag is a very easy tag to use and can be very handy when building a RSS display website.

Code to be placed at the top of .cfm page:

<cffeed action=”read” source=”http://www.hostmediauk.com/blog/?feed=rss2″ name=”myRSSFeed”>

Code to be placed within the <body> tags:

<cfloop from=”1″ to=”#ArrayLen(myRSSFeed.item)#” index=”i”>

<cfoutput>
#myRSSFeed.item[i].description.value#<br />
</cfoutput>

</cfloop>

You can view this working on our Coldfusion 8 servers in the UK at:
http://www.hostcoldfusion.co.uk/

Enjoy using RSS feeds on your website.

Check Your Results ~ New Design

Monday, March 2nd, 2009

Check Your Results has had a bit of a make over with its cleaner design and and simple style to allow users to use the current tool and future ones currently in development.

If you have not already checked out the new website its worth seeing and using the search engine link finder.

Visit: http://www.checkyourresults.com/