Просмотр полной версии : Parse error: parse error, unexpected T_CONSTANT_ENCAPSED_STRING in ....
шо это за ошипка?
вознкает тут
$file = file("http://wap.siza.ru/download/index.php?$QUERY_STRING");
$file = @implode("", $file);
......
$begins = strpos($file '<p><small>'); $ends = strpos($file '*****<br/>');
здесь ошибок нет
......
этот код в студию.
GreenBear
17.05.2007, 23:46
$begins = strpos($file '<p><small>');
что это?
$begins = strpos($file '<p><small>');
$ends = strpos($file '*****<br/>');
http://ru2.php.net/manual/ru/function.strpos.php
$begins = strpos($file '<p><small>');
в мануале там ещё запятые расставлены..
<?php
$file = file("http://wap.siza.ru/download/index.php?".$QUERY_STRING);
$file = @implode("", $file);
// code there
$begins = strpos($file, '<p><small>' !== false);
$ends = strpos($file, '*****<br/>' !== false);
?>
гг. в мануале там ещё запятые расставлены..
сёдня утром я это уже 3аметил. и ошиба было именно в этом.
всем спасиба)
vBulletin® v3.8.14, Copyright ©2000-2026, vBulletin Solutions, Inc. Перевод: zCarot