Un script? :s

Fermé
xiberia16 Messages postés 475 Date d'inscription vendredi 26 décembre 2008 Statut Membre Dernière intervention 26 mai 2014 - 3 avril 2009 à 09:20
redonky Messages postés 102 Date d'inscription jeudi 2 avril 2009 Statut Membre Dernière intervention 31 octobre 2010 - 3 avril 2009 à 09:35
Bonjour, je n'y connais rien en script, vous pouvez m'aider, par exemple pour celui là, je dois faire comment :s http://www.laboratoire-microsoft.org/scripts/15987/

ou çà, je comprend rien :s :(

# <?php
#
# if (isset($_POST['id'])) {
# if ($_POST['id'] == "action") {
#
# ## Heure d'hiver: time() + (1 * 60 * 60);
# ## Heure d'été: time() + (2 * 60 * 60);
#
# $tempsfr = time() + (2 * 60 * 60);
# $tpsactu = gmdate("d-m-Y H:i", $tempsfr);
# $temps_format = gmdate("_d-m-Y_H\hi\ms\s", $tempsfr);
# $jouractu = gmdate("d", $tempsfr);
# $moisactu = gmdate("m", $tempsfr);
# $anneeactu = gmdate("Y", $tempsfr);
# $heureactu = gmdate("H", $tempsfr);
# $minuteactu = gmdate("i", $tempsfr);
# $minuteactu = gmdate("s", $tempsfr);
#
#
#
# $skyblog_url_pre1 = strtolower($_POST['skyblog']);
#
# $skyblog_url_pre2 = str_replace("http://www.", "", $skyblog_url_pre1);
# $skyblog_url_pre3 = str_replace(strstr($skyblog_url_pre2, ".skyblog."), "", $skyblog_url_pre2);
# $skyblog_url_pre3 = str_replace(strstr($skyblog_url_pre3, ".skyrock."), "", $skyblog_url_pre3);
# $skyblog_url_pre4 = str_replace(strstr($skyblog_url_pre3, ".sky"), "", $skyblog_url_pre3);
#
# $skyblog_url_pre5 = str_replace("http://", "", $skyblog_url_pre4);
# $skyblog_url_pre6 = str_replace("www.", "", $skyblog_url_pre5);
# $skyblog_url_pre7 = str_replace(strstr($skyblog_url_pre6, "/"), "", $skyblog_url_pre6);
# $skyblog_url_pre8 = str_replace(strstr($skyblog_url_pre7, ":"), "", $skyblog_url_pre7);
#
# $skyblog_url_pseudo = $skyblog_url_pre8;
# $skyblog_url = "http://".$skyblog_url_pseudo.".skyrock.com/";
#
#
# echo "<html><head>
# <title>Aspirateur de Skyblog v2.3: ".$skyblog_url."</title>
# <SCRIPT language=javascript>
# function s() {
# window.scrollBy(0,1000);
# }
# var timer=setInterval(\"s()\", 100);
# </SCRIPT>
#
# </head>
# <body><font face=\"Arial\" size=\"2\">";
#
# $nom_dossier_blogs = "skyblogs";
#


# echo "Skyblog à télécharger: ".$skyblog_url."<br>";
#
# if (!is_dir($nom_dossier_blogs)) { mkdir ($nom_dossier_blogs); }
# if (!is_dir($nom_dossier_blogs."/".$skyblog_url_pseudo.'.skyblog.com'.$temps_format)) { mkdir ($nom_dossier_blogs."/".$skyblog_url_pseudo.'.skyblog.com'.$temps_format); }
# if (!is_dir($nom_dossier_blogs."/".$skyblog_url_pseudo.'.skyblog.com'.$temps_format.'/pics')) { mkdir ($nom_dossier_blogs."/".$skyblog_url_pseudo.'.skyblog.com'.$temps_format.'/pics'); }
#
# $filelocationclef = $nom_dossier_blogs."/".$skyblog_url_pseudo.'.skyblog.com'.$temps_format.'/index.html';
# $newfile = fopen($filelocationclef,"w");
# $filelocationclef2_1 = $nom_dossier_blogs."/".$skyblog_url_pseudo.'.skyblog.com'.$temps_format.'/1.html';
# $newfile2_1 = fopen($filelocationclef2_1,"w");
#
# $handle = fopen($skyblog_url, "rb");
# $pre_contents = ""; while (!feof($handle)) { $pre_contents .= fread($handle, 8192); }
# fclose($handle);
#
#
# $id_skynaute_1 = strstr($pre_contents, "id_skynaute");
# $id_skynaute_2 = str_replace(strstr($id_skynaute_1, ";"), "", $id_skynaute_1);
# $id_skynaute_3 = str_replace("id_skynaute", "", $id_skynaute_2);
# $id_skynaute_4 = str_replace(" ", "", $id_skynaute_3);
# $id_skynaute = str_replace("=", "", $id_skynaute_4);
#
#
# $pre2_contents_2 = str_replace($skyblog_url."photo.html?id_article=", "PREURLX", $pre_contents);
# $pre3_contents_2 = str_replace("DESACTIVE.jpg&", '.jpg" xnsrpa="', $pre2_contents_2);
# $pre4_contents_2 = str_replace('DESACTIVE<dd id="pseudo_value"> ', '<dd id="pseudo_value"><iframe height="0" width="0" frameborder="0">', $pre3_contents_2);
# $pre5_contents_2 = str_replace("DESACTIVE<dt> Description", "</iframe> <a href=\"http://www.skyblog.com/admBloger/envoyer.phtml?id=".$id_skynaute."\" onclick=\"window.open(this.href,'envoyermessage','location=no,toolbar=yes,width=690,height=560'); return false;\">".$skyblog_url_pseudo."</a> <dt> Description", $pre4_contents_2);
# $pre6_contents_2 = str_replace(' onclick="openAddCommentWindow(this); return false;">Ajouter un commentaire</a>', '>', $pre5_contents_2);
# $pre7_contents_2 = str_replace('<a rel="nofollow" href="http://www.skyblog.com/public/add_comment.php?id_skynaute=', '<!', $pre6_contents_2);
# $pre8_contents_2 = str_replace("&id_article=", '£££', $pre7_contents_2);
# $pre9_contents_2 = str_replace("DESACTIVE&id_template=", "_comment_1.html\" onclick=\"window.open(this.href,'photo','location=no,toolbar=no,scrollbars=yes,width=690,height=610'); return false;\">Commentaires (backup)</a><!", $pre8_contents_2);
# $pre10_contents_2 = str_replace("http://blog.skyrock.com/js/video.js", "video.js", $pre9_contents_2);
# $pre11_contents_2 = str_replace("http://blog.skyrock.com/banners/part1.js", "rien.js", $pre10_contents_2);
# $pre11_contents_2_2 = str_replace("http://blog.skyrock.com/banners/part2.js", "rien.js", $pre11_contents_2);
# $pre11_contents_2_3 = str_replace("https://www.skyrock.com/stats/stats.js", "rien.js", $pre11_contents_2_2);
# $pre11_contents_2_4 = str_replace("http://blog.skyrock.com/stats/stats2.js", "rien.js", $pre11_contents_2_3);
# $pre12_contents_2 = str_replace("http://blog.skyrock.com/stats/tagstats.js?", "rien.js", $pre11_contents_2_4);
# $contents = str_replace(",resizable=yes'", ",resizable=yes,width=690,height=530'", $pre12_contents_2);
# $contents_FILTR_INDEX = $contents;



svp, je ne comprends vraiment rien...
A voir également:

1 réponse

redonky Messages postés 102 Date d'inscription jeudi 2 avril 2009 Statut Membre Dernière intervention 31 octobre 2010 23
3 avril 2009 à 09:35
Tu veut faire quoi?
0