script order determine if found or not the file? why?
Posted: Tue Oct 31, 2006 9:15 am
in my script i have this code part
I wont delete all unuseful things and left my code thus
Why when i left the code how shown the last example firefox say or show like when cant find a page or site?
Which is the problem and why? it happened more time but i dont know why
Code: Select all
global $icono,$url7;
$icono=($icono===false)?true:'metele';
if($icono===true)
echo 'ES VERDADERO<br>';
elseif($icono=='metele')
echo 'METELE '.$icono.'<br>';
preg_match("/href\s*=\s*(((\"|'|`)[^>]*\\3)|[^>\s]*)/i",$coin[0],$enc);
echo $ddd=limpia($enc[1]);
echo '<br>';
if($icono!='metele')
$ddd2=url_raa($ddd);
else
$ddd2[$urlp]=($ddd{0}=='#')?substr($ddd,1):$ddd;
$ddd=(($icono===true)?'#':'').$ddd2[$urlp];
echo $ddd.'<br>';
print_r($ddd2);
echo '<br>';
$a_a=str_replace($enc[1],$ddd,$coin[0]);
echo htmlspecialchars($a_a).'<p>';
return $a_a;I wont delete all unuseful things and left my code thus
Code: Select all
global $icono,$url7;
$icono=($icono===false)?true:'metele';
preg_match("/href\s*=\s*(((\"|'|`)[^>]*\\3)|[^>\s]*)/i",$coin[0],$enc);
$ddd=limpia($enc[1]);
$ddd2=($icono!='metele')?url_raa($ddd):(($ddd{0}=='#')?substr($ddd,1):$ddd);
$ddd2[1]=($icono=='metele')?$ddd2:$ddd2[1];
$ddd=(($icono===true)?'#':'').$ddd2[1];
$a_a=str_replace($enc[1],$ddd,$coin[0]);
echo htmlspecialchars($a_a).'<p>';
return $a_a;Why when i left the code how shown the last example firefox say or show like when cant find a page or site?
Which is the problem and why? it happened more time but i dont know why