PHP preg_match hostname and domain from FQDN

On February 11, 2010, in How-to, Scripting, by Cubert aka (Cube Dweller)

How to get the hostname and the domain name from FQDN in PHP

This sound easy right? So easy that you would think it would be all over the internet as an example on how to parse host names from domain names. Wrong…. I spent a hour one day looking everywhere and all I found was parsing a URL. Well my needs go deeper I need to do a Continue reading

Tagged with:
 

PHP Pagination with timestamp / timeline display

On February 3, 2010, in How-to, Scripting, by Cubert aka (Cube Dweller)

Pagination with a timestamp as the center value

We provide a way to scroll page to page of data and show the time stamp of when the data was collected as part of the page navigations.

Here we setup the first query and findout how many pages we have.

$sql = “SELECT COUNT(*) FROM table where name = ‘” . $name . “‘ and type = ‘” Continue reading

Tagged with:
 

AlertOnFailure Runs Remote Desktop Proxy Service

On January 28, 2010, in Projects, by Cubert aka (Cube Dweller)

AlertOnFailure is working on a Remote Desktop feature in their Free computer system monitoring services. The service is new and they expect to have integrate more deeply in AOF hosted services in the near future.  Currently the services provides the ability to connect 2 Microsoft Windows desktops together allowing a support tech, systems admin or friendly and knowledgeable Continue reading

GraphMyWebsite – Providing Free Website Monitoring

On January 27, 2010, in Projects, by Cubert aka (Cube Dweller)

Free website monitoringGraphMyWebsite (www.graphmywebsite.com)  is a free website monitoring service provided by the good people here at Squidworks.

This service monitors websites for outages and graphs their performance. If your looking for a easy website uptime monitor and alerting service GMW is for you. Get email notifications when failing services are detected.

GMW provides all Continue reading

New WebSite Development – www.floridarnr.com

On January 11, 2010, in Projects, by Cubert aka (Cube Dweller)

Florida Society of Registered Nurses Retired  website development was completed this week located at www.floridarnr.com .

This site was developed using Wordpress and our own custom template developed for FSRNR. All logos and design aspects were completed as per the customers requests and site level training for the staff has commenced Continue reading

Tagged with:
 

HOW-to: PHP Multiple Select List Box quick and easy..

On December 30, 2009, in How-to, Scripting, by Cubert aka (Cube Dweller)

Sometimes you find that it requires a little looping to get data from a form when using PHP and Multiple select list boxes. Here is a quick and easy way to loop through select data sent from a form in html. We also show you here how to use a Array of data to create the options. This is great if your doing a database query and need to use Continue reading

Tagged with:
 

ELGG Plugin:AdBrite -> BritePics patch for TidyPics

On December 17, 2009, in How-to, Projects, Scripting, by Cubert aka (Cube Dweller)

As part of Squidworks community involvement in Open source software we have added another code enhancement to the ELGG community.

This patch adds the BritePics Advertising feature to TidyPics plugin for ELGG.
Now when your images are viewed in full size your Adbrite account will post a quick ad over image. It also helps protect your images as the images is now wrapped in a flash player Continue reading

Tagged with:
 

Alert On Failure

  

 The Engineers at Squidworks are building another free web services site. AlertOnFailure.com is the first free public BBDisplay and BBpager compatible service available on the web. It takes the well known BB model of delivering data and packages a large scale MySql Database schema around it and a world class web interface to Continue reading

Tagged with:
 

ELGG Plugin : My Online Friends Messenger

On November 15, 2009, in Projects, Scripting, by Cubert aka (Cube Dweller)

Here is a plugin for ELGG community web framework created to popout from side of browser and show your active friends by name and picture. Each online friend listed is hyperlinked back the the email composer with that friends ID pre posted. The plugin show users as active (5 minutes) and inactive (10 minutes) variations .

myfriends-1.0.tar

Tagged with:
 

Howto: MySQL Full Text Search in PHP

On November 6, 2009, in How-to, Scripting, by Cubert aka (Cube Dweller)

This tutorial is intended for Text Searching using MySQL (http://www.MySQL.com/) and PHP (http://www.php.net) and will focus on the Full-text capabilities presented by MySQL.

Synopsis

We run a website that hosts web blogs, we have a database that contains blog posts. We might create a table in our database using a statement like this:

CREATE TABLE blogs (body TEXT, title VARCHAR(250), id INT NOT NULL auto_increment, PRIMARY KEY(id);
 
Tagged with: