Sponsors

Syndicate

Wedding Vows - All My Life
Written by Mark Shingleton   
All my life, I've waited for you to come into it.
All my life I've prayed for you to come into it.
Today, all of my hopes, my prayers, and my dreams come true.
All of this happens today because I fell in love with you.
Read more...
 
Joomla-Squid Proxy Authentication with Autoconfiguration Howto
Written by David   

Only recently I was required to set up some Internet Access restrictions and rules on a network for external websites.  An internal Intranet was being used with Joomla,  and Squid was in-place as a transparent proxy.

I decided to write a very basic PHP Script to do Internet authentication since the Proxy and Intranet were on the same server.  (It wouldn't be hard to port this script to Python/Perl or anything else you like):

 
<?php
/* Desert Crystal Solutions */
# Joomla Configuration File
include_once("<CHANGE THIS PATH TO YOUR JOOMLA INSTALLATION>/config.php");
# Grab STDIN Input
if (!defined('STDIN')) {
define("STDIN", fopen("php://stdin", "r"));
}
# Parse multiple authentication requests from Squid
while (!feof(STDIN)) {
# get STDLIN contents from request
$line = trim(fgets(STDIN));
$fields = explode(' ', $line);
# check that 2 parameters have been parsed to the script
# in the form of "username password"
# fail if this is incorrect
if (count($fields) != 2) die("ERROR: Input incorrect\n");
# record username and password
$username = rawurldecode($fields[0]); //1738
$password = rawurldecode($fields[1]); //1738
# start a basic MySQL connection to the host configured in Joomla
$conn=mysql_connect($mosConfig_host,$mosConfig_user,$mosConfig_password);
@mysql_select_db($mosConfig_db) or die( "Unable to select database");
# query the username and password from Squid's Authentication
$query = "SELECT id FROM `".addslashes($mosConfig_dbprefix)."users` "
."WHERE `block` = '0' AND `username` = '".addslashes($username)."' "
."AND `password` = '".addslashes(md5($password))."'";
$result=mysql_query($query);
# check that there are results for the query
if (@mysql_numrows($result)) {
# return OK on STDOUT (Authentication Successful)
fwrite(STDOUT, "OK\n");
} else {
# return ERR on STDOUT (Authentication Failure)
fwrite(STDOUT, "ERR\n");
}
}
# close all MySQL connections gracefully
mysql_close($conn);
?>
Read more...
 
Australian Telstra Exchange Codes
Written by David   

On the odd occasion, I find myself having to use advanced features on Telstra service phone numbers.  Finding these numbers is often time consuming and what's worse, trying to remember those exchange numbers you USE to know is frustrating to say the least!

Read more...
 
HTACCESS Header/Footer Wrapper for PHP
Written by David   

HTACCESS is a remarkable tool you can use for password protection, error handling (like custom 404 pages), or HTTP redirects. It can also be used to transform whole folders in seconds: adding headers to all your HTML documents, watermarking all your images, and more.

Read more...
 
The Truscott Family Trio
Written by David   

Family

"Family" came together as a trio on the 26th of November 1972 where they sang for the first time at Pennant Hills Shopping Centre in Sydney Australia . Prior to this the three boys were involved in other groups in Queensland in a group called "I.R.I.P" which stood for , Ian Ron Ian and Phil and also a group called "Family Friends" which included a fellow named Barry Graham doing main vocals with Ian Phil and Ian basically doing backing vocals . On the occasion of the 26th of November 1972 "I.R.I.P" were supposed to do the gig but Ron did not turn up so Ian , Phil and Ian went on alone and did their first gig together . Some time later Barry Graham joined the trio to become "Family Friends" but this did not last long and Barry left the group under good circumstances and became a minister but unfortunately was killed in a car crash in 1990 just outside of Maryborough, Queensland.

Image
Family Music Logo
Gradually the feeling that they could best sing , was when they sang together of their beliefs , forced the boys to come together as one vocal group . From the first moment the unique blending of the three voices in harmony was obvious to all the growing number of friends who dropped by to hear the guys pick up guitars and sing . The two Truscott brothers , Phil and Ian , formerly were members of their own rock and roll band and these influences can be felt in most of the contemporary 'Jesus Songs' performed by 'Family'. The third member Ian Smallbone sang with a number of folk groups prior to the 'Family' formation .

Most of the song writing for 'Family' in the early years was undertaken by Ian Truscott and at least half of the group's performances on stage would be devoted to their original , but strongly commercial , songs from Ian's manuscript .Throughout their prominent years both Ian Truscott and Ian Smallbone are represented as songwriters as well as group singers , Phil also contributed to song writing throughout their careers . In December 1972 they recorded their first single which included Barry Graham , it was called "The Wedding Song" and on side "B" was "Love From A Man , it was the first of about 15 singles that where recorded by "Family" and did not get very far on the charts but the following single was "Hallelujah Day" and went to # 6 in Brisbane , # 22 in Sydney and # 38 in Melbourne on the secular Top 40 charts .

[1] Reference: http://www.angelfire.com/in2/familys/home.html

Read more...
 
StationPlaylist Studio Documentation
Written by David   

 

StationPlaylist Studio is a digital audio broadcast playback system designed primarily for use in broadcast studios, but also used by DJ's in clubs, and other situations where professional audio playback is required. It provides automation and live assist operation with a simple interface that any DJ will find easy to use.

 

Read more...
 
Streaming Video with NSV Shoutcast
Written by David   

This tutorial assumes knowledge of how to use command line tools in the Windows environment. The tutorials also assume basic knowledge of setting up the SHOUTcast DNAS. Refer to the streaming audio tutorials for information on the SHOUTcast DNAS, these tutorials use the default configuration, though. Both the command line tools and GUI tools are explained (excluding FLASK currently). NSV SHOUTcast is not currently meant for general end-user use, so if you are not willing to put some effort into this stop reading now. If you want to stream video and are willing for a challenge then keep reading.

Required Software:
- NSVTools - April 19, 2003
- SHOUTcast DNAS 1.9.5

 

Read more...
 
What is the best free Installer Creation Program for Windows?
Written by David   
One of the best Free/Open Source Installer Programs for Windows is called "Inno Setup".  It is developed by JR Software and can be found at this address.
www.jrsoftware.org/isdl.php

An alternative Installer is called NSIS (Nullsoft Scriptable Install System).
In my opinion, this system is far more advanced than Inno Setup, allowing you to write more complex scripted installation programs for your applications.
This can be found on this website.
nsis.sourceforge.net


Both installer applications have different features that will meet the needs of different people.  Try them both out and see what you think.
 

Joomla template by DesignForJoomla.com
DesignForJoomla.com provides free Joomla templates, free and commercial Joomla extensions, Joomla tutorials and SEO tips for the Joomla CMS