Hvis man er logget ind?
Kunne godt tænke mig at min iframe for community skifter side, hvis brugeren er logget ind.Min session for brugere der er logget ind er "logsucces = 1".
iframe:
<iframe name="community" src="section/user/login.php" marginwidth="20" marginheight="20" style="filter:alpha(opacity=60);-moz-opacity:0.6;opacity:0.6;height:30px;width:793px" frameborder="0"></iframe>
log:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link type="text/css" rel="stylesheet" href="http://community.scriptstudio.dk/style/communitystyle.css">
<title>Untitled Document</title>
</head>
<body>
<table width="100%" style="border:#000000 1px solid;">
<tr>
<form action="logcheck.php" method="post"><td width="60" height="22"><b>B</b>rugernavn:</td>
<td width="110"><input type="text" name="brugernavn" class="input" style="height:15px; width:100px;" /></td>
<td width="45"><b>K</b>odeord:</td>
<td width="110"><input type="password" name="kodeord" class="input" style="height:15px; width:100px;" /></td>
<td width="65"><input type="submit" value="Log ind" class="input" /></td></form>
<td>Opret bruger</td>
<td> </td>
</tr>
</table>
</body>
</html>
Håber i forstår spørgsmålet og kan gi et svar..
På forhånd tak.