Jump to content

steonkeys

New Members
  • Posts

    4
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

steonkeys's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Hey i wonder if you can help me. I've got a website that works fine in any browser, apart from IE7! basically i've got a menu bar across the top which is nice and thin, but in IE7 - it's chunky!! www.gahp.co.uk/ilc/ilc.php (this is just a holding site for it) Now I've heard that IE7 have decided to tighten up on the standards, so things work properly, but I haven't got a clue on how to change the code to make it work. The code for .../ilc.php is as follows. <?php include("header.php"); ?> <p class="text">Welcome to the Work Place website. This website has been set up to promote, and to answer any questions about the Work Place. The site is still under construction and is updated regularly.</p> <p class="text">School site visits can be arranged through Pauline Vipond, Durham EBP <br>01740 652681</p></td> </tr> <tr> <td bgcolor="#070F72"></td> </tr> </table> </body> </html> code for header.php <!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=ISO-8859-1" /> <title>The Work Place</title> <style type="text/css" media="screen"> @import url("./menu/menu.css"); body { background-color: #070F72; } a:link { color: #99FF33; } a:visited { color: #33CC66; } .ilc { font-family: Arial, Helvetica, sans-serif; font-size: 40px; color: #33CC66; font-weight: bold; } .text { font-size: 18px; color: #FFFFFF; font-family: Arial, Helvetica, sans-serif; } .title { font-family: Arial, Helvetica, sans-serif; color: #FFFFFF; font-size: 36px; } </style> <script language="JavaScript1.2" type="text/javascript" src="menu/mm_css_menu.js"></script> </head> <body> <table width="100%" height="99%" border="0" cellpadding="0" cellspacing="0"> <tr> <td width="6%"> </td> <td width="9%" rowspan="3" valign="top" bgcolor="#E97912"><img src="images/the_work_place_logo.jpg" alt="logo" width="155" height="309" /></td> <td width="85%"> </td> </tr> <tr> <td height="59" bordercolor="0" bgcolor="#9FDC00"></td> <td bgcolor="#9FDC00"><div align='center'><?php include("menu.php"); ?></div></td> </tr> <tr> <td height="350" rowspan="2"></td> <td rowspan="2" align="center" valign="top"><p class="title">Who else will be in the Work Place?</p> <table width="100%" border="0"> <tr> <td width="2%"></td> <td width="96%"> and menu.php is just some java to create a drop down menu. Please can anyone shed some light on how to make it work perfectly? I've downloaded that latest version on dreamweaver, and it converts it to tight standards - but just screws the page up. It's really really getting on my nerves!!! secondary question on the side - I'm not really wanting to pay £400 for the latest version of dreamweaver - so can anyone recommend another program?
  2. i can't see anything wrong with it either, thats the annoying thing!!
  3. ? what you mean check directory?
  4. Hi, I wonder if you could help me, as I can't see where I'm going wrong. I have got an area of my website that is password protected. tGateway.php gets the user to input the password then checks, then if it is correct, sets a session variable - $_SESSION['trainee'] = 1; and then redirects to another page. (tGPS.php) This works fine, the problem occurs when i then go from this page to any other page in the protected area. It kicks me out and takes me back to the password screen - as it is meant to do, if $_SESSION['trainee'] != '1'; So some how, the trainee variable it being reset to 0, I've done print variable on the tCP.php page without the if statement and it's claiming that the variable is 0. I can't see how it's reset it's self, and more the to the point how to stop it! There is not any other php code in the pages. See below for the php code of each page. Thank you in advance. Steven tGateway.php (password form) <?php session_start(); if ($_POST['password'] == 'password') //not real password - I ain't that stupid { $_SESSION['trainee'] = '1'; header("Location: http://www.gahp.co.uk/scitt/tGPS.php"); } ?> tGPS.php (this one works fine - trainee is set to 1) <?php session_start(); if ($_SESSION['trainee'] != '1') {header("Location: http://www.gahp.co.uk/scitt/tGateway.php"); } ?> tCP.php (this one doesn't work - trainee is some how set to 0 - but it shouldn't be) <?php session_start(); if ($_SESSION['trainee'] != '1') {header("Location: http://www.gahp.co.uk/scitt/tGateway.php"); } ?>
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.