MM- Question for you. Im confused as to why you would want to do an SSI call seeing how the pm-message count code is already added to the Ultimate.cgi file:
#############################################
if ($privcount[0] == $privcount[1]){
if ($privcount[0] == 0) {
$pmdesc = "You have no private messages.";
}
if ($privcount[0] != 0) {
$pmdesc = "You have $privcount[0] new private message$ptadd.";
}
}
if ($privcount[0] != $privcount[1]){
if ($privcount[1] == 0) {
$pmdesc = "You have $privcount[0] private message$ptadd.";
}
if ($privcount[1] != 0) {
$pmdesc = "You have $privcount[0] private message$ptadd. $privcount[1] $pnadd new.";
}
#############################################
Does this code not do the same thing your pmssi.cgi file does except your calling it out in an SSI and placing it into a table for HTML ??
Could one just add require="Ultimate.cgi" statement to whatever file it is you want to (Unless it's stricty an HTML file) and call the $pmdesc string and have the status displayed that way ??
From a pure HTML stand point this works great, except what if your restricted to using only <-- exec// whatever whatever// --> statements, like NOT allowed to do Virtual File Includes - Like I am
I'd really like to have this on a main (HTML) page somewhere but I can't because it's V.Inclde type statement. I guess I could always change the output to match what I need and call it as an exec some how. It's a realy nice addition though, I just wish I could use it the way it's intended.
------------------
-------------------------------------------------------------------------
Abe Lincoln Says "Endeavor to Persevere" - I Just Happen To Agree :-)
-------------------------------------------------------------------------
Semiconductor - Field Service Engineering
www.ke1ha.com 5.45c Forums 5.47x Test Board