[thelist] NT hosting question(s)
abbey
abbey at abbeyink.com
Wed Sep 11 20:16:01 CDT 2002
On Wednesday 11 September 2002 06:54 pm, you wrote:
> so then what was your question?
That was pretty much it -- SSI's and any other potential issues with ftp,
etc. I've never tried getting into an NT box before so I didn't know if there
would be any *gotcha's* besides having to leave my beloved php includes
behind.
It's been ages since I did an SSI. Scott, thanks for the heads up on the
shtml extension, Chris, thanks for the assurance that ftp is still ftp
whether *nix or NT.
altho, I may still pout about having to leave that nifty pseudo-rollover nav
function behind . . .
tip -- want a neat little pseudo rollover in php?
<?php
/*written by Dave Minor of http://sus4.net/*/
function link_compare($link, $text, $path='') {
if ('/'.$path.$link == $_SERVER['PHP_SELF'])
echo "\n <span class=\"active\">> $text</span><br><br>";
elseif ($path != '')
echo "\n <a class=\"nav\"
href=\"$path$link\">$text</a><br><br>";
else
echo "\n <a class=\"nav\" href=\"$link\">$text</a><br><br>";
}
function nav() {
link_compare('link1.html','link1');
link_compare('link2.html', 'link2');
link_compare('index.php', 'SubFolder, 'link1a/');
}
?>
drop the function in, style with CSS, expand at will.
More information about the thelist
mailing list