Usut punya usut, tulisan tersebut tidak dapat diganggu gugat melalui codecharge studio. tetapi dapat kita hapus dari halaman php hasil publishnya.
Berikut cara menghapusnya:
Terdapat beberapa model kode yang dihasilkan oleh software CCS untuk menuliskan "Generated with CodeCharge Studio". Kalau dilihat sepintas saja tidak akan kentara. contohnya seperti ini:
//Show Page @1-8AFA269F
$Login->Show();
$Tpl->block_path = "";
$Tpl->Parse($BlockToParse, false);
if (!isset($main_block)) $main_block = $Tpl->GetVar($BlockToParse);
if(preg_match("/<\/body>/i", $main_block)) {
$main_block = preg_replace("/<\/body>/i", strrev(">retnec/<>tnof/<>llams/<.;111#&;501#&;001#&;711#&;611#&;38#&>-- CCS --!< e;301#&;411#&;79#&;401#&CedoC>-- CCS --!< htiw>-- SCC --!< ;001#&;101#&ta;411#&;101#&;011#&e;17#&>llams<>\"lairA\"=ecaf tnof<>retnec<") . "</body>", $main_block);
} else if(preg_match("/<\/html>/i", $main_block) && !preg_match("/<\/frameset>/i", $main_block)) {
$main_block = preg_replace("/<\/html>/i", strrev(">retnec/<>tnof/<>llams/<.;111#&;501#&;001#&;711#&;611#&;38#&>-- CCS --!< e;301#&;411#&;79#&;401#&CedoC>-- CCS --!< htiw>-- SCC --!< ;001#&;101#&ta;411#&;101#&;011#&e;17#&>llams<>\"lairA\"=ecaf tnof<>retnec<") . "</html>", $main_block);
} else if(!preg_match("/<\/frameset>/i", $main_block)) {
$main_block .= strrev(">retnec/<>tnof/<>llams/<.;111#&;501#&;001#&;711#&;611#&;38#&>-- CCS --!< e;301#&;411#&;79#&;401#&CedoC>-- CCS --!< htiw>-- SCC --!< ;001#&;101#&ta;411#&;101#&;011#&e;17#&>llams<>\"lairA\"=ecaf tnof<>retnec<");
}
$CCSEventResult = CCGetEvent($CCSEvents, "BeforeOutput", $MainPage);
if ($CCSEventResult) echo $main_block;
//End Show Page
CCS menuliskan kode tersebut dalam berbagai macam cara, jadi tidak selalu persis seperti di atas.
Contoh lain adalah:
$Tpl->block_path = "";
$Tpl->Parse($BlockToParse, false);
if (!isset($main_block)) $main_block = $Tpl->GetVar($BlockToParse);
$DKCGJHAP1M1C8R6E8A = explode("|", "<center><font face=\"A|rial\"><small>Ge&|#110;era|ted <!|-- SCC -->w&#|105;th <!-- |SCC -->Co|;deCh&|#97;rge |<!-- CCS -->S|6;udio.</sm|all></font></center>");
if(preg_match("/<\/body>/i", $main_block)) {
$main_block = preg_replace("/<\/body>/i", join($DKCGJHAP1M1C8R6E8A,"") . "</body>", $main_block);
} else if(preg_match("/<\/html>/i", $main_block) && !preg_match("/<\/frameset>/i", $main_block)) {
$main_block = preg_replace("/<\/html>/i", join($DKCGJHAP1M1C8R6E8A,"") . "</html>", $main_block);
} else if(!preg_match("/<\/frameset>/i", $main_block)) {
$main_block .= join($DKCGJHAP1M1C8R6E8A,"");
}
$CCSEventResult = CCGetEvent($CCSEvents, "BeforeOutput", $MainPage);
if ($CCSEventResult) echo $main_block;
//End Show Page
Kuncinya adalah, hapus tulisan antara <center></center> (dalam berbagai versi tentunya).
Kelemahannya, setiap kali kita mempublish file dari CCS, maka kode tersebut ada lagi. Jadi hapuslah kalau sudah fix betul (mau di upload ke server hosting).
apa masih aktif menulis tentang CSS mass?? apa bisa buat aplikasi database ngak??
ReplyDeleteMenulis belom lagi pak. lagi sibuk orderan bikin database/sistem informasi dan web. tentu bisa pak.
ReplyDeleteada contoh ngak pak, untuk tutorial nyusun skripsi, mohon bantuan ya pak
ReplyDeletecontoh web maksudnya? di codecharge sdh ada beberapa contoh seperti : Portal, Forum, Task Manager, Store, employe directory, examples pack, ajax examples.
DeleteCaranya, buka ccs, pilih new project, pilih tab Solution... help file bisa dgn pencet F1 saat ccs aktif.