A problem with '"'



I have written a code and can't figure what is wrong, the code will
read a content of a file and cut all the emails from it,then echo them,
but I have a problem with '"' charecter I think..
Take a look:
****************************
<?php
$url="http://www.bihstudenti.com/kontakt.php";;
$lines = file_get_contents($url);
$done=explode("@",$lines);
for($i=0;$i<count($done)+1;$i++)
{
$j=$i+1;
$a=strrpos($done[$i],":");
$b=strrpos($done[$i],">");
$c=strpos($done[$j],chr(34));
$d=strpos($done[$j],"<");
$front=$done[$i];
$back=$done[$j];
if($a>$b){
if($c<$d){
echo "Line $i
".substr($front,strrpos($front,":")+1)."@".substr($back,0,strpos($back,chr(34)))."<br>";
}else{
echo "Line $i
".substr($front,strrpos($front,":")+1)."@".substr($back,0,strpos($back,"<"))."<br>";
}
}else{
if($c<$d){
echo "Line $i
".substr($front,strrpos($front,">")+1)."@".substr($back,0,strpos($back,chr(34)))."<br>";
}else{
echo "Line $i
".substr($front,strrpos($front,">")+1)."@".substr($back,0,strpos($back,"<"))."<br>";
}
}
}
?>
****************************
I am looking at www.bihstudenti.com/kontakt.php content..
Please help, do any one have a clue what is wrong..

.



Relevant Pages

  • PHP question
    ... i have no clue how to run PHP under windows XP? ... What web server do i need, how do i configure IIS to run it. ... Prev by Date: ...
    (microsoft.public.dotnet.framework.aspnet)
  • Special charecters problem
    ... read a content of a file and cut all the emails from it,then echo them, ... do any one have a clue what is wrong.. ... Prev by Date: ...
    (php.general)
  • php mailing list
    ... Is it possible to implement a mailing list using PHP?. ... maintain a list of emails addresses in a db and send mail to them through my ... Dave ... Prev by Date: ...
    (comp.lang.php)
  • Re: spell check error
    ... > anyone have a clue why spell check would throw up an error and not ... spell check works fine in Word. ... > OE 6, came in a brand new computer, I did import emails and address ... Prev by Date: ...
    (microsoft.public.windows.inetexplorer.ie6_outlookexpress)
  • Re: vbscript
    ... Thanks it is redirecting now but I am not getting my emails sent to me. ... of PHP which I am new to. ... Prev by Date: ...
    (comp.lang.php)