HRAT (rate it )
Scris: Mar Ian 10, 2006 7:38 pm
am luat de pe net hrat 1.0
primesc urmatoarea eroare
Notice: Use of undefined constant length - assumed 'length' in d:\program files\easyphp1-8\www\site\HRAT\hrat.php on line 25
5********
iar pe linia 25 am
if($id == $fname)
{
$firstPos = strpos($line,'%%%%');
$rat = substr($line,$firstPos+4,$line.length-1);
$count = $count+1;
$ratc = $ratc+$rat;
echo($rat."********");
}
stie cineva de la ce poate fi eroarea aceasta ?>[/b]
primesc urmatoarea eroare
Notice: Use of undefined constant length - assumed 'length' in d:\program files\easyphp1-8\www\site\HRAT\hrat.php on line 25
5********
iar pe linia 25 am
if($id == $fname)
{
$firstPos = strpos($line,'%%%%');
$rat = substr($line,$firstPos+4,$line.length-1);
$count = $count+1;
$ratc = $ratc+$rat;
echo($rat."********");
}
stie cineva de la ce poate fi eroarea aceasta ?>[/b]