Bug #73417 [NEW]: Missing "t"s at the end of data compiled
| From: | ficareli at terra dot com dot br | Date: | Sun, 30 Oct 2016 02:57:59 +0000 |
| Subject: | Bug #73417 [NEW]: Missing "t"s at the end of data compiled | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-205062@lists.php.net to get a copy of this message | ||
From: ficareli at terra dot com dot br
Operating system:
PHP version: Irrelevant
Package: Strings related
Bug Type: Bug
Bug description:Missing "t"s at the end of data compiled
Description:
------------
Bug: When you run the website, some "t"s or "x" are absent (or every) at
the end of the song titles. Example: "Aretha Franklin - Respec", even if
the song title and filename are perfect.
I have a band (loupha.com.br) and we have a website to document the
songs to play, with lyrics. Offline we also use multimedia.
The main page has a frameset of two windows as below
http://www.loupha.com.br/Marvy/indexLyrics.html
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN">
<html>
<head>
<link rel="icon" href="../WebSite/Favico.png" type="image/png">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="KeyWords" content="Loupha, rock, musica, pop, banda,
Vermelho">
<meta name="DESCRIPTION" content="Loupha Rock Band Official Site">
<meta name="copyright" content="Esedra Brasil">
<meta name="robot" content="index">
<meta name="Index" content="index,follow">
<meta name="date" content="2002-03-15">
<title>LOUPHA - a Rock Legend</title>
</head>
<frameset cols="300,*" frameborder="no" border="0">
<frame name="indice_2" src="indiceLyrics.php?pasta='../LRC/'"
marginheight="0" marginwidth="0" noresize>
<frame name="master" src="Legend.htm" marginheight="0"
marginwidth="8"
noresize>
</frameset>
<noframes>
<body>
<h2>
Por favor, troque o seu Browser por um mais novo.<br>
Consulte seu provedor.
Este Site usa Frames.
Obrigado,<br>
Ficarelli - Multimedia Designer
</h2>
</body>
</noframes>
</frameset>
</html>
================================
The PHP page at left (that causes the bug) is below. I tried every type
of string function to relieve the problem, but none.
This bug always happened offline and online
http://www.loupha.com.br/Marvy/indiceLyrics.php
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>LOUPHA INDICE</title>
<link rev="made" href="mailto:ficareli@terra.com.br">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="generator" content="NoteTab Pro 4.95">
<meta name="author" content="Marcos Ficarelli">
<meta name="description" content="automação de letras musicais">
<meta name="keywords" content="musica, letra, lyrics">
<link rel="stylesheet" type="text/css"
href="CSSJS/IndiceLyrics.css">
</head>
<body>
<h4>Letras de Música MAIN</h4>
<p><a href="indiceLyrics.php">Main</a>,
<a href="indiceLyricsBrasil.php">Brasil</a>,
<a href="indiceLyricsEuropeo.php">Europeo</a>,
<a href="indiceLyricsItalia.php">Italia</a>,
<a href="indiceLyricsOther.php">Other</a>,
<a href="indiceLyricsPlay.php">Play</a>,
</p>
<?php
## TENTAR USAR SCANDIR(directory) - retorno total
# usando opendir
#--------------------
$dir = "../LRC/";
$ext = ".txt";
$dh = opendir($dir);
$i = 0;
while (false !== ($filename = readdir($dh))) {
$pos = stripos($filename,$ext);
if ($pos !== false){
$files[] = $filename;
++$i;
}
}
sort($files);
$r = 0;
do {
echo "<a
href='Lyrics.php?letra=".htmlspecialchars($files[$r],ENT_QUOTES)."'
target='master'>".trim($files[$r],$ext)."</a><br>\r\n";
++$r;
} while ($r <= $i);
?>
</body>
</html>
Test script:
---------------
BB King - How Blue Can You Ge
--
Edit bug report at https://bugs.php.net/bug.php?id=73417&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=73417&r=trysnapshot54
Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=73417&r=trysnapshot55
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=73417&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=73417&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=73417&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=73417&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=73417&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=73417&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=73417&r=support
Expected behavior: https://bugs.php.net/fix.php?id=73417&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=73417&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=73417&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=73417&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=73417&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=73417&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=73417&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=73417&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=73417&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=73417&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=73417&r=mysqlcfg