PDA

Просмотр полной версии : Parse error: parse error, unexpected T_CONSTANT_ENCAPSED_STRING in ....


mr.The
17.05.2007, 22:47
шо это за ошипка?
вознкает тут

$file = file("http://wap.siza.ru/download/index.php?$QUERY_STRING");
$file = @implode("", $file);

......


$begins = strpos($file '<p><small>'); $ends = strpos($file '*****<br/>');

p-range
17.05.2007, 23:20
здесь ошибок нет
......
этот код в студию.

GreenBear
17.05.2007, 23:46
$begins = strpos($file '<p><small>');
что это?

Abra
17.05.2007, 23:47
$begins = strpos($file '<p><small>');
$ends = strpos($file '*****<br/>');
http://ru2.php.net/manual/ru/function.strpos.php

Rebz
17.05.2007, 23:50
$begins = strpos($file '<p><small>');
в мануале там ещё запятые расставлены..

Isis
18.05.2007, 00:00
<?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);
?>

mr.The
18.05.2007, 14:33
гг. в мануале там ещё запятые расставлены..
сёдня утром я это уже 3аметил. и ошиба было именно в этом.
всем спасиба)