Cov qhua phau ntawv tso cai rau koj sib txuas lus nrog tus xaib site. Los ntawm cov ntawv sau zoo li no, txhua tus neeg tuaj yeem tso lawv cov kev xav tau lossis cov lus qhia ntsig txog koj cov peev txheej. Lub guestbook yog ntsia zoo li lwm qhov web application sau nyob rau hauv PHP.
Nws yog qhov tsim nyog
PHP-qhib hosting
Cov Lus Qhia
Kauj ruam 1
Txhawm rau nruab cov phau ntawv qhua, koj lub hosting yuav tsum txhawb nqa PHP, thiab qee cov ntawv sau tuaj yeem xav tau MySQL pab txhawb nqa. Yog tias koj tus neeg dai khaub ncaws tsis muab cov kev pabcuam ntawd, ces koj tuaj yeem siv ib qho kev pabcuam dawb qhua hauv Is Taws Nem. Koj tsuas yog yuav tsum tso qhov txuas los ntawm qhov kev pabcuam ntawm koj cov peev txheej thiab txhim kho txhua tus tsis dhau los ntawm kev tswj tuav.
Kauj ruam 2
Nrhiav thiab rub cov ntawv hla hauv Is Taws Nem. Tsuas yog rub tawm cov ntaub ntawv los ntawm cov chaw muaj txiaj ntsig lossis lub vev xaib kev sib tham. Unpack lub downloaded archive. Nyeem readme lossis nruab cov ntaub ntawv kom nkag siab tias cov qhua ua haujlwm ua haujlwm thiab kev teeb tsa ua dab tsi.
Kauj ruam 3
Yog tias daim ntawv thov khaws tag nrho cov ntaub ntawv khaws cia hauv MySQL, tom qab ntawd koj yuav tsum xub tsim ib qho chaw siv uas siv lub rooj tswj hwm ua lag luam. Yog tias koj tsis paub tias yuav ua li cas, ces thov hu rau lub koom haum saib xyuas kev txhawb nqa thiab nug kom paub meej ntawm cov txheej txheem tsim cov ntaub ntawv.
Kauj ruam 4
Teeb tsa cov ntaub ntawv teeb tsa ntawm cov ntawv sau raws li cov kev txwv ntawm koj lub server: nkag rau lub npe npe, chaw nyob ntawm server, nkag mus thiab password nkag mus rau MySQL. Cov ntaub ntawv configuration feem ntau muaj cov npe zoo li config.php, cfg.php. Phau ntawv yuav tsum tau muab rau hauv qhov nyeem tau.
Kauj ruam 5
Tom qab ua txhua qhov hloov pauv, koj tuaj yeem rub daim ntawv sau rau tus server. Rub tawm tag nrho cov ntaub ntawv rau ib daim nplaub tshev cais ntawm FTP siv koj tus tswj hwm vaj huam sib luag lossis tus thawj tswj hwm FTP (piv txwv li, Zoo nkauj FTP lossis Tag Nrho Tub Rog).
Kauj Ruam 6
Txheeb xyuas txoj haujlwm ntawm tsab ntawv ntawm koj cov peev txheej. Txhawm rau ua qhov no, nkag mus rau qhov chaw nyob uas koj tau rub tawm cov qhua nyob hauv qhov chaw nyob ntawm koj tus browser. Sim ntxiv cov lus pom tshiab, mus rau cov thawj tswj hwm, sim kho kom raug lossis tshem tawm cov kab lus. Yog tias txhua yam ua haujlwm, tom qab ntawd tsis txhob hnov qab txuas rau cov qhua los ntawm nplooj ntawv tseem ceeb ntawm koj lub xaib. Yog tias qee lub laj thawj qhov kev pab cuam tsis ua haujlwm, tom qab ntawd hu rau nws cov neeg tsim tawm ntawm cov neeg uas tau qhia hauv cov ntaub ntawv nyeem ntawv lossis hu rau qhov kev pabcuam hosting.