Another comment
<script>alert(\\\'mick!\\\');</script>
<script>alert('mep');</script>
<script>alert(\'mep!\');</script>
'foo' "bar" <baz>
<div class="comment_body"><p><?
$blank_line = false;
$first_line = true;
while (!feof($f)) {
$l = rtrim(fgets($f, 1000000));
if (0 < strlen($l)) {
if ($blank_line) {
echo "</p>\n<p>";
}
else {
if (!$first_line) {
echo "<br />\n";
}
}
echo htmlspecialchars($l);
$blank_line = false;
}
else {
if ($blank_line) {
echo "<br />\n";
}
$blank_line = true;
}
$first_line = false;
}
?>
</p></div>
<div class="comment_body"><p><?
$blank_line = false;
$first_line = true;
while (!feof($f)) {
$l = rtrim(fgets($f, 1000000));
if (0 < strlen($l)) {
if ($blank_line) {
echo "</p>\n<p>";
}
else {
if (!$first_line) {
echo "<br />\n";
}
}
$l = htmlspecialchars($l);
$j = 0;
while (($j < strlen($l)) && (' ' == $l[$j])) {
echo ' ';
++$j;
}
echo ltrim($l);
$blank_line = false;
}
else {
if ($blank_line) {
echo "<br />\n";
}
$blank_line = true;
}
$first_line = false;
}
?>
</p></div>
No name test
Nice job!
Thanks! .. It still needs work, though. When enough messages are added, it will become awkward to view them all on one huge page. Breaking large logs into smaller pages would be nice. But then, should you show the "post new comment" form at the bottom of every page, ... or only the last page so that people have to look at the most recent comment before they can post?
http://en.wikipedia.org/wiki/Alternative_DNS_root
http://www.bitwizard.nl/mtr/
http://blog.oneriot.com/
http://www.phelios.com/ptk/tuto1/
Developing cloud apps:
http://www.infoworld.com/archives/emailPrint.jsp?R=printThis&A=/article/09/03/11/10NF-cloud-app-dev_1.html
Alternate data streams:
http://www.google.com/search?hl=en&q=ads+alternate+data+streams&btnG=Search
http://www.chiark.greenend.org.uk/~sgtatham/puzzles/
http://www.ibm.com/developerworks/library/l-embdev.html
dude
permission test .. the comments subdir has to be owned by www-data (or have permission for www-data to write to it)
mick "mick" <&>?
To do: fix "name" field echo.
testing
veldig interessant, takk
snoopy.toondog.net is full of interesting content!
<a href=http://www.youtube.com/watch?v=VjhVgvE7dfw>unlocking mobile phones</a>
iphone unlock
unlock iphone
<a href="http://ounlockiphone.com">unlock iphone</a> how to unlock iphone unlock iphone
Hi, um, I want a YouTube account and my mom is saying "no" because she thinks it has virus's! So before I make one I just want to be safe. Help me! By the way my computer is emachines. Just in case. unlock iphone
iphone unlock unlock iphone <a href=http://ounlockiphone.com>iphone unlock </a> how to unlock iphone
unlock iphone 4
how to unlock iphone 4
how to unlock iphone 4 <a href="http://unlockiphone421.com">unlock iphone 4</a> unlock iphone 4 how to unlock iphone 4
_________________
unlock iphone 4 <a href=http://unlockiphone421.com>how to unlock iphone 4</a> how to unlock iphone 4 unlock iphone 4
mep
Testing.
This is a multi-line comment. There is a blank line between the first sentence and this paragraph.