strip_tags
This commit is contained in:
parent
19c2339717
commit
8d22f146dd
1 changed files with 3 additions and 3 deletions
|
@ -210,11 +210,11 @@
|
|||
if ($myfile) {
|
||||
$index = 0;
|
||||
while (($line = fgets($myfile)) !== false) {
|
||||
echo "<div class='post'><h2>" . $line . "</h2>";
|
||||
echo "<i>" . fgets($myfile) . "</i>";
|
||||
echo "<div class='post'><h2>" . strip_tags($line) . "</h2>";
|
||||
echo "<i>" . strip_tags(fgets($myfile)) . "</i>";
|
||||
echo "<canvas id='c" . $index . "' style='width: 100%;' width='128' height='64'></canvas></div>";
|
||||
|
||||
echo "<script>loadImageBits('c" . $index . "', '" . strip_tags(fgets($myfile)) . "');</script>";
|
||||
echo "<script>loadImageBits('c" . $index . "', '" . substr(strip_tags(fgets($myfile)), 0, 8192) . "');</script>";
|
||||
|
||||
$index++;
|
||||
}
|
||||
|
|
Reference in a new issue