<?php
include("fotoweb46.php"); include("fotoweb19.php"); include("../fotoweb57.php");  $album_html = "../album.php"; $description = "../access/DescriptionSite.txt";  $fp = fopen($album_html,"r"); $fdescrpt = fopen($description,"r"); $fp_temp = fopen("temp.txt","w+"); while (! feof($fp)) { $ligne = fgets($fp, 4096); if (eregi("<NOFRAMES>", $ligne)) { fwrite($fp_temp,$ligne."<P>");  while (! feof($fdescrpt)) { $ligne = fgets($fdescrpt, 4096); fwrite($fp_temp,$ligne); }  $html = formatMess("Q29weXJpZ2h0IDxhIGhyZWY9Imh0dHA6Ly93d3cuZm90b3dlYi5mcmVlLmZyLyI+aHR0cDovL3d3dy5mb3Rvd2ViLmZyZWUuZnI8L2E+ICZhbXAgPGEgaHJlZj0iaHR0cDovL3d3dy5yZWRnZS5mcmVlLmZyLyI+aHR0cDovL3d3dy5yZWRnZS5mcmVlLmZyPC9hPg==Régénération "); fwrite($fp_temp,"\n</UL>\n<H3>".$html."</H3>"); fwrite($fp_temp,"\n</NOFRAMES>\n</FRAMESET>\n</HTML>"); break; } else fwrite($fp_temp,$ligne);   } fclose($fp_temp); fclose($fp); copy("temp.txt",$album_html); unlink("temp.txt"); echo "Régénération référencement OK"  ?> </body> </html> 