hi!
hab von vorhin von dem kollegen KILLERLOOP den sourcecode kopiert, aber bei mir will er einfach net funktionieren! woran könnt das liegen?
hier mein gesamter code:
-------------------------------------------
<html xmlns:v="urn:schemas-microsoft-com:vml"
xmlns
="urn:schemas-microsoft-com
ffice
ffice"
xmlns:w="urn:schemas-microsoft-com
ffice:word"
xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=Content-Type content="text/html; charset=windows-1252">
</head>
<body lang=EN-US style='tab-interval:36.0pt'>
<br>
<br>
<br>
<br>
<br>
<br>
</body>
</html>
-----------------------------------------------
bitte um rat!
lg,
KITT
hab von vorhin von dem kollegen KILLERLOOP den sourcecode kopiert, aber bei mir will er einfach net funktionieren! woran könnt das liegen?
hier mein gesamter code:
-------------------------------------------
<html xmlns:v="urn:schemas-microsoft-com:vml"
xmlns
![Embarrassment](https://www.php-resource.de/forum/core/images/smilies/redface.gif)
![Embarrassment](https://www.php-resource.de/forum/core/images/smilies/redface.gif)
![Embarrassment](https://www.php-resource.de/forum/core/images/smilies/redface.gif)
xmlns:w="urn:schemas-microsoft-com
![Embarrassment](https://www.php-resource.de/forum/core/images/smilies/redface.gif)
xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=Content-Type content="text/html; charset=windows-1252">
</head>
<body lang=EN-US style='tab-interval:36.0pt'>
<br>
<br>
<br>
<br>
<br>
<br>
PHP-Code:
<?
$f=fopen("http://www.heise.de/newsticker/heise.rdf","r");
$blub=fread($f,65535);
fclose($f);
$p=xml_parser_create();
xml_parse_into_struct(&$p,&$blub,&$values,&$index);
xml_parser_free($p);
$pointer=0;
for ($i=0;$i<=sizeof($values);$i++) {
if ($values[$i][tag]=="TITLE") {
$linktitle[$pointer]=$values[$i][value];
}
if ($values[$i][tag]==LINK){
$linkurl[$pointer]=$values[$i][value];
$pointer++;
}
}
for ($i=1;$i<=sizeof($linktitle);$i++){
echo "<a href=".$linkurl[$i].">".$linktitle[$i]."</a><br>";
}
?>
</body>
</html>
-----------------------------------------------
bitte um rat!
lg,
KITT
Kommentar