edzny 0 Report post Posted May 6, 2005 assalamualaikum....ada sesapa tau tak berkaitan .phtmlnie php + html ker...lain sgt la mcm php..ada sesapa yg leh tlg terang kan tak... Quote Share this post Link to post Share on other sites
psychoX 6 Report post Posted May 7, 2005 http://www.faqts.com/knowledge_base/view.p...aid/9546/fid/51 Quote Share this post Link to post Share on other sites
edzny 0 Report post Posted May 7, 2005 thanks alot....ada sesapa yg leh huraikan lg tak .phtml nie Quote Share this post Link to post Share on other sites
fatah 0 Report post Posted May 9, 2005 http://www.faqts.com/knowledge_base/view.p...aid/9546/fid/51kt link atas tu dah simpulkan bhw php == phtml jek cik edzny Quote Share this post Link to post Share on other sites
mohdfadly 24 Report post Posted May 10, 2005 phtml tu extension ajer, source code dia tetap PHP. Kalau nak guna selain phtml pun boleh contohnya:index.jhtml, index. mhtml, index.wtf, atau apa sajer asalkan server dah diconfigurekan untuk terima extension tu. Quote Share this post Link to post Share on other sites
fatah 0 Report post Posted May 10, 2005 i dun have word to say.. if u want too technically.. and answer fromputeranetwork is the best answer Quote Share this post Link to post Share on other sites
1kHz 0 Report post Posted May 11, 2005 basically apa puteranetwork cakap tu betul.. "technically" .phtml will be treated like .php by the server..dari segi "design" pulak, saya ada baca dlm satu buku, bab pasal MVC (Model-View-Controller) in PHP, dia ada kata org selalu guna .phtml sbg template file.. Quote Share this post Link to post Share on other sites
psychoX 6 Report post Posted May 11, 2005 ooo.. .. tapi kalau blajar smarty tu . pakai html je . boleh apa .. Quote Share this post Link to post Share on other sites
fatah 0 Report post Posted May 11, 2005 erk~ "ada orang".. erm..then.. saya guna .tpl sbg template file dan bagi permission ktIIS org takleh retrieve source diyer.. amacam. hehehe~then.. saya fatah guna .tpl sbg menggantikan .phtml... flame nih. Quote Share this post Link to post Share on other sites
psychoX 6 Report post Posted May 11, 2005 (edited) actually semua boleh di set la fatah.. ko nak pakai cam mana pun.hehehehcuba ko serch kat internet .. taip hide php ..http://www.phpfreaks.com/tutorials/34/0.php Edited May 11, 2005 by psychoX Quote Share this post Link to post Share on other sites
1kHz 0 Report post Posted May 11, 2005 biasa mmg orang ramai (termasuk bro fatah) gunakan .tpl utk template files.. tapi yg ni sebenarnya lain sikit..ada satu konsep (konsep ke?) di namakan PHP "native templating".. yg ni tak guna apa2 template engine.. ia masih template, sebab fungsi template ialah memisahkan code yg digunakan utk proses dan code yg digunakan utk papar.. native templating ni sebenarnya gunakan PHP biasa je dlm "template" tu tapi restrictkan dari guna pernyataan kompleks didalamnya, cuma boleh letak if..else dan loop je..mcm ni la lebih kurang../**** ini viewuser.php ****/ class User { var $name; var $id; function getUser($id) { $this->id = $id; $this->name = getUserNameFromDb($id); } } $u = new User(); $u->getUser($_REQUEST['id']); require_once "viewuser.phtml"; /**** ini pulak dalam viewuser.phtml ****/ <html> <body> User <? echo $u->name; ?> have ID <? echo $u->id ?> </body> </html>itulah dari apa yg saya baca.... tammat.. Quote Share this post Link to post Share on other sites
fatah 0 Report post Posted May 12, 2005 sorry sorry.. kalau terflame kan sekejap.. sajer je..cuma yg org nak criter.. terpulang kpd setiap individu camnercara dan gaya diyer mencorakkan koding koding php diyer..tu jeh.. mekacih.. off topic..oit mamak teh tarik kaw satu yek..nak belanje si psychoX ni jek. salam ceria Quote Share this post Link to post Share on other sites
psychoX 6 Report post Posted May 13, 2005 (edited) hahah. no hal fatah.. bereh ..mamak.. teh 0 beng lima kurang manis se... Edited May 13, 2005 by psychoX Quote Share this post Link to post Share on other sites
peacepeijal 0 Report post Posted May 13, 2005 encik/bro buleh tahu x camner nak buat... coding macam nih 'TUNGGU SEBENTAR ANDA SEDANG MASUK KE LAMA WEB XXXX' contoh nyer... biler orang masuk website kita... dier kelurkan pop up cam ni.. musykil.... laa... apa-apa bahasa laa... Quote Share this post Link to post Share on other sites
psychoX 6 Report post Posted May 14, 2005 rasanye.. tak yah buat cam tu kut... sebab lambat... kalau pakai swf flash mungkin ok la sebab nak load fail tu .... buat selambe je.. tapi kalau nak load pic dulu sebelum load page mungkin ada cara lain kut.. ke guane fatah ? Quote Share this post Link to post Share on other sites
peacepeijal 0 Report post Posted May 27, 2005 tompang tanyer... aklu nak blaja buat web portal cam php, asp ke ape2 la... nak abik kursus aper.. kursus aper yang sesuai tuk blaja bender nih... tolongla kasi pdapat... kalu google xyahlah... kat ner leh cari... Quote Share this post Link to post Share on other sites
psychoX 6 Report post Posted May 27, 2005 blajar sendiri je... bende ni bleh blajar kat umah Quote Share this post Link to post Share on other sites
peacepeijal 0 Report post Posted June 2, 2005 blajar sendiri je... bende ni bleh blajar kat umah←HUHUHU... kalu ader tutorial ker .... bleh laa gak... Quote Share this post Link to post Share on other sites
psychoX 6 Report post Posted June 2, 2005 http://forum.putera.com/tanya/t9118.htmlcuba tgk tgk kat sini dulu.. ok .. baca dan paham. serta buat.. kalau tak reti .. tersangkut memana.. baru hantar SOS kat sini huuhu Quote Share this post Link to post Share on other sites