But you will have to put these codes in each of the popups or use a popup.php like the one i provided in the other thread with this stuff in that.
PHP Code:
<?php
if(isset($_GET["file"]))
{
$file=$_GET["file"];
if(!preg_match('#^/files/[A-Z]/(^/)\.txt$#', $file))
exit;
}
else exit;
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title>Pretest</title>
<meta http-equiv="content-type" content="text/html; charset=iso-8859-1">
<style type="text/css" media="screen">
p{white-space:pre}
</style>
</head>
<body>
<p>
<?php
$str = file_get_contents($file);
echo $str;
?>
</p>
</body>
</html>
So you have a choice you either use the codes i provided in either of the two threads or you have to copy and paste SB65's code in each of your 100's of popups. But if your going to do that you might as well just put <br> in instead!
For anyone who wonders what an earth I'm talking about look here
http://codingforums.com/showthread.php?t=165918