mattssi Posted August 30, 2006 Share Posted August 30, 2006 I'm new to PHP... (of course)Should be, to me, simple code...<!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>Shirt Detail/title><link href="../stupidsock_default.css" rel="stylesheet" type="text/css" /></head><body><? $shirt = $_GET['shirt']; echo $shirt;?></body></html>This works fine in FireFox, but does not output anything in IE. Although, if you view the source in IE, you can see the output in the HTML.The page that is calling this page is display.php?shirt=shirt001 so, it should display shirt001 in the browser window.Any help please? I'm not sure if this is one of the "buffer" issues I've seen. I wouldn't know how to apply the answer to my situation anyway.Thanks! Quote Link to comment Share on other sites More sharing options...
Tandem Posted August 30, 2006 Share Posted August 30, 2006 Might be because you left the '<' off of the closing title tag. Quote Link to comment Share on other sites More sharing options...
mattssi Posted August 30, 2006 Author Share Posted August 30, 2006 [quote author=Tandem link=topic=106168.msg424389#msg424389 date=1156898376]Might be because you left the '<' off of the closing title tag.[/quote]OMG man, thanks. Another set of eyes is very helpful. I've been looking at this thing forever and didn't even notice this. Quote Link to comment Share on other sites More sharing options...
redarrow Posted August 30, 2006 Share Posted August 30, 2006 testedplease watch your sercuty methods or your be hacked always set a condition within the link ok.shirt_result.php[code]<?phpif($_GET['show']=='me'){$shirt=$_GET['shirt'];echo " this is the order number of the shirt you wanted ref:$shirt";}?>[/code]shirt.php[code]<?php$shirt="shirt0001";echo"<a href='shirt_result.php?shirt=$shirt&show=me'>get the shirt</a>";?>[/code] Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.