un code suspect et irritant

Petit nouveau ! | 1 Messages

15 mai 2005, 01:13

bonjour tout le monde, dans un forum en php proposé sur internet que j'ai mis en ligne, (type phpBB ou IPB...), il y a un petit cadre qui s'affiche, dont le contenu change à l'actualisation de la page. il s'agit d'un petit cadre avec un lien publicitaire. Grace a firefox, j'ai obtenu "le code source du cadre", que voici:

Code : Tout sélectionner

<html><head><style><!-- .ch{cursor:pointer;cursor:hand}//--> </style><script><!-- function ss(w,id) {window.status = w;return true;}function cs(){window.status='';}function ha(a){ }function ca(a) { window.open(document.getElementById(a).href);}function ga(o,e) {if (document.getElementById) {a=o.id.substring(1);p = "";r = "";g = e.target;if (g) {t = g.id;f = g.parentNode;if (f) {p = f.id;h = f.parentNode;if (h)r = h.id;}} else {h = e.srcElement;f = h.parentNode;if (f)p = f.id;t = h.id;}if (t==a || p==a || r==a)return true;window.open(document.getElementById(a).href);}} //--> </script></head><body bgColor="#ffffff" text="#000000" link="#0000ff" alink=#0000ff" vlink="#0000ff" leftMargin="0" topMargin="0" marginwidth="0" marginheight="0"><table width="125" height="125" cellspacing="0" cellpadding="0" border="0" bgcolor="#efefef"><tr><td width="100%" height="" bgcolor="#efefef" align="left" valign="top"><table width="125" height="125" cellspacing="1" cellpadding="4" border="0" bgcolor="#efefef"><tr ><td id="taw0" class="ch" width="100%" height="" bgcolor="#efefef" align="left" valign="middle" onFocus="ss('go to Tunu.com','aw0')" onMouseOver="ss('go to Tunu.com','aw0')" onMouseOut="cs()" onClick="ga(this,event)"><font style="font-size:10px" face="arial,sans-serif" color="#0000ff"><a id="aw0" target="_blank" href="/pagead/iclk?adurl= http://www.tunu.com/sear/h/o/horse_insurance.html&sa=l&ai=B2H1mLYGGQsmNCJjS SZbPsLUK5fvRComA6qgBwI23AdCGAxABGAEgyPn8AUDKEUiYOaAB4ZHS_gOqAQowND kwOTQ4MjMwsgEOc3VubGFuLmNsdWIuZnK6AQsxMjV4MTI1X25ld8gBAdoBjQFodHRwOi8 vc3VubGFuLmNsdWIuZnIvZm9ydW0vaW5kZXgucGhwP2FjdD1TZWFyY2gmbmF2PWF1Jk NPREU9c2hvdyZzZWFyY2hpZD04OTY3YjcyZmU5NDMwZWE0OGNmODU5NDI2N2Q1Zm I0ZSZzZWFyY2hfaW49cG9zdHMmcmVzdWx0X3R5cGU9cG9zdHPoAQE&num=1&client=ca-pub-7914497331126011" onFocus="ss('go to Tunu.com','aw0')" onClick="ha('aw0')" onMouseOver="return ss('go to Tunu.com','aw0')" onMouseOut="cs()"><b>Horse insurance Info</b></a><br></font><font style="font-size:10px" face="arial,sans-serif" color="#333333">Search Online at Tunu.com for Horse insurance Information<br></font></td></tr></table></td></tr></table></body></html>
j'aimerai enlever ce cadre, seulement j'ignore sur quel fichier ce code est inscrit.

merci !

Administrateur PHPfrance
Administrateur PHPfrance | 11457 Messages

15 mai 2005, 10:27

j'ignore sur quel fichier ce code est inscrit.
Et nous donc !

Si tu as mis ce forum en ligne, tu as accès aux codes source.
Si tu as accès aux code source, tu peux faire une recherche dans le texte,
Si tu peux faire une recherche dans le texte, trouve le fichier qui contient "Tunu.com", par exemple. ;)