
Added by roScripts on March-26-2008, 5:01 pm
function add_start_end_slashes ( $input )
{
if ( $input != '' )
{
if ( substr ( $input, -1 ) != '/' )
{
$input = $input . '/';
}
if ( substr ( $input, 0, - ( strlen ( $input ) - 1 ) ) != '/' )
{
$input = '/' . $input;
}
return $input;
}
}
Added by roScripts on March-26-2008, 5:14 pm
Added by roScripts on March-26-2008, 5:13 pm
Added by roScripts on March-26-2008, 5:09 pm
Added by roScripts on March-26-2008, 5:08 pm
Added by roScripts on March-26-2008, 5:07 pm