I need help!!!
IF I do an If statement like:
if(isset($ibf_member_id) && ($ibf_pass_hash == "$pm[password]")){ // log out link $logout = "<a href=\"$url?s=$ibf_session_id&act=Login&CODE=03\">$gobyebye</a>"; // moderator control panel link. if($group[g_is_supmod] == 1) { $modcp = " | <a href=\"$url?&act=modcp\">Mod CP</a>"; }; // admin control panel link. if($group[g_access_cp] == 1) { $admincp = " | <a href=\"$short\">Admin CP</a>"; }; // the formated look of the end of the logout, admin cp and mod cp. Change the format here if wanted. echo"$loggedin: <b>$pm[name]</b> ( $logout<b>$admincp$modcp </b>)"; } else { // Tessssst. echo"include("http://www.dsmcentral.com/sample.html")"; };[/QUOTE] I am trying to enter an Incloude in the else statement like the one above at the bottom. how do you format this if it is possible?? This is part of a bigger script for a login box. TIA, Mike
if(isset($ibf_member_id) && ($ibf_pass_hash == "$pm[password]")){ // log out link $logout = "<a href=\"$url?s=$ibf_session_id&act=Login&CODE=03\">$gobyebye</a>"; // moderator control panel link. if($group[g_is_supmod] == 1) { $modcp = " | <a href=\"$url?&act=modcp\">Mod CP</a>"; }; // admin control panel link. if($group[g_access_cp] == 1) { $admincp = " | <a href=\"$short\">Admin CP</a>"; }; // the formated look of the end of the logout, admin cp and mod cp. Change the format here if wanted. echo"$loggedin: <b>$pm[name]</b> ( $logout<b>$admincp$modcp </b>)"; } else { // Tessssst. echo"include("http://www.dsmcentral.com/sample.html")";
};[/QUOTE]
I am trying to enter an Incloude in the else statement like the one above at the bottom. how do you format this if it is possible??
This is part of a bigger script for a login box.
TIA, Mike
nevermind.... man I need some sleep!!!! you dont need to echo the PHP line! 😃 I cant believe I was beating myself up on this!