Wie rel="nofollow" in php einsetzten

madhead

Well-known member
ID: 6395
L
27 April 2006
1.035
25
Hallo,

ich möchte das neue "nofollow"-Attribut rel="nofollow" in foldenden php Code einsetzen (also jeweils für die angegebene Url):

PHP:
class=footer>Artikel bewerten</a></td></tr><tr><td><img src=images/space.gif width=1 height=10></td></tr><tr><td colspan=2 bgcolor=#CFDAE5><b>Social Bookmarking</b></td></tr><tr><td colspan=2><img src=images/bm_delicious.png align=absmiddle width=16 height=16> <a href=\"";
$bm_titel = urlencode($uct[titel]);
echo "https://del.icio.us/post?url=".urlencode("https://".$wsurl."/artikel".$id)."&title=".$bm_titel; 
echo "\" target=_blank class=footer>Bookmarken bei <b>del.icio.us</b></a></td></tr><tr><td colspan=2><img src=images/bm_digg.png align=absmiddle width=16 height=16> <a href=\"";
echo "https://digg.com/submit?phase=2&url=".urlencode("https://".$wsurl."/artikel".$id)."&title=".$bm_titel;
echo "\" target=_blank class=footer>Bookmarken bei <b>digg</b></a></td></tr><tr><td colspan=2><img src=images/bm_mrwong.gif align=absmiddle width=16 height=16> <a href=\"";
echo "https://www.mister-wong.de/index.php?action=addurl&bm_url=" .urlencode("https://".$wsurl."/artikel".$id)."&bm_description=".$bm_titel;
echo "\" target=_blank class=footer>Bookmarken bei <b>Mister Wong</b></a></td></tr></table>";

...wo, bzw. Wie ich dieses Atribut auch benutze, es kommt immer ein Fehler! :(
Ich muß noch dazusagen, das ich in php - sagen wir mal - weniger als Grundkenntnisse habe.

kann mir jemand helfen/ einen Tip geben?

...danke schonmal im voraus,

mfg. Madhead
 
PHP:
class=footer>Artikel bewerten</a></td></tr><tr><td><img src=images/space.gif width=1 height=10></td></tr><tr><td colspan=2 bgcolor=#CFDAE5><b>Social Bookmarking</b></td></tr><tr><td colspan=2><img src=images/bm_delicious.png align=absmiddle width=16 height=16>";
$bm_titel = urlencode($uct['titel']);
echo '<a href="https://del.icio.us/post?url='.urlencode('https://'.$wsurl.'/artikel'.$id).'&title='.$bm_titel.'" target="_blank" class="footer" rel="nofollow">Bookmarken bei <b>del.icio.us</b></a></td></tr><tr><td colspan="2"><img src="images/bm_digg.png" align="absmiddle" width="16" height="16">';
echo '<a href="https://digg.com/submit?phase=2&url='.urlencode('https://'.$wsurl.'/artikel'.$id).'&title='.$bm_titel.'" target="_blank" class=footer rel="nofollow">Bookmarken bei <b>digg</b></a></td></tr><tr><td colspan=2><img src="images/bm_mrwong.gif" align="absmiddle" width="16" height="16">';
echo '<a href="https://www.mister-wong.de/index.php?action=addurl&bm_url='.urlencode('https://'.$wsurl.'/artikel'.$id).'&bm_description='.$bm_titel.'" target="_blank" class="footer" rel="nofollow">Bookmarken bei <b>Mister Wong</b></a>';
echo '</td></tr></table>';
 
ähm,

was soll das rel="nofollow" eigentlich bewirken, das sagt mir nämlich irgendwie so garnix.

mfg expert173
 
... herzlichen Dank!

mfg. madhead

PHP:
class=footer>Artikel bewerten</a></td></tr><tr><td><img src=images/space.gif width=1 height=10></td></tr><tr><td colspan=2 bgcolor=#CFDAE5><b>Social Bookmarking</b></td></tr><tr><td colspan=2><img src=images/bm_delicious.png align=absmiddle width=16 height=16>";
$bm_titel = urlencode($uct['titel']);
echo '<a href="https://del.icio.us/post?url='.urlencode('https://'.$wsurl.'/artikel'.$id).'&title='.$bm_titel.'" target="_blank" class="footer" rel="nofollow">Bookmarken bei <b>del.icio.us</b></a></td></tr><tr><td colspan="2"><img src="images/bm_digg.png" align="absmiddle" width="16" height="16">';
echo '<a href="https://digg.com/submit?phase=2&url='.urlencode('https://'.$wsurl.'/artikel'.$id).'&title='.$bm_titel.'" target="_blank" class=footer rel="nofollow">Bookmarken bei <b>digg</b></a></td></tr><tr><td colspan=2><img src="images/bm_mrwong.gif" align="absmiddle" width="16" height="16">';
echo '<a href="https://www.mister-wong.de/index.php?action=addurl&bm_url='.urlencode('https://'.$wsurl.'/artikel'.$id).'&bm_description='.$bm_titel.'" target="_blank" class="footer" rel="nofollow">Bookmarken bei <b>Mister Wong</b></a>';
echo '</td></tr></table>';