"; $posthref=""; $newcontent = str_replace($prehref,$posthref,$newcontent); if (CheckSubFolder($full_file_path.$_user['user_id'].".t.html")==0) { $newcontent = ReplaceImgTag($newcontent); } } else { //my_delete($full_file_path.$_user['user_id'].".t.html"); $newcontent = $content; } WriteFileCont($full_file_path.$_user['user_id'].".t.html",$newcontent); /* $prehref="javascript:void(0);"; $posthref=$_configuration['root_web']."main/exercice/Hpdownload.php?doc_url=".$doc_url."&cid=".$cid."&uid=".$uid; $newcontent = str_replace($prehref,$posthref,$newcontent); $prehref="class=\"GridNum\" onclick="; $posthref="class=\"GridNum\" onMouseover="; $newcontent = str_replace($prehref,$posthref,$newcontent); */ $doc_url = GetFolderPath($doc_url).urlencode(basename($doc_url)); // echo $documentWebPath.$doc_url.$_user['user_id'].".t.html"; // exit; ?> Tests - Dokeos <body> <p>This page uses frames, but your browser doesn't support them. We suggest you try Mozilla, Firebird, Safari, Opera, or other browsers updated this millenium. </p> </body>