Zoom Posted August 19, 2004 Report Share Posted August 19, 2004 Nu ir tā es lasu PHP Soli pa Solim, bet nav saprotama viena lieta. Ka var izveidot fails.inc ? Es tik zinu ka uzraksta .php, bet .inc... Link to comment Share on other sites More sharing options...
Venom Posted August 20, 2004 Report Share Posted August 20, 2004 right click->rename uz iezīmētā faila F2 ja nerāda paplašinājumus (e.g. tu redzi, ka "dokuments" ir word fails, bet neredzi, ka viņš ir "dokuments.doc"), aizej uz Windows Explorer (Win poga+E) View>Folder Options vai Tools>Folder options Tur View izvēļnapakšlogs> un noņem čeku no Hide extensions for known files. Tad var uztaisīt Apply to all folders, jāaizver Windows Explorer (lai tas ieglabātu settingus). Link to comment Share on other sites More sharing options...
bubu Posted August 20, 2004 Report Share Posted August 20, 2004 Tak nav svarīgi kāds ir faila extensions. Tas inc vien tas pats php ir. Extensions atšķirās tikai tāpēc, lai pašam būtu vieglāk atšķirt fukcionalitāti, ko veic fails. Link to comment Share on other sites More sharing options...
des Posted August 20, 2004 Report Share Posted August 20, 2004 Ar include var includod kaut vai: include("manu/kakji/sauc.jaanis"); :) Link to comment Share on other sites More sharing options...
Venom Posted August 20, 2004 Report Share Posted August 20, 2004 NB es dodu priekšroku inclūdus un visādus template failus saukt par *.php, jo, zinot. ceļu līdz *.inc to varēs mierīgi nokačāt (ja nav salikts file restrictions). E.g. some.lv/options.inc un tajā $mysql_password/user etc. ... Link to comment Share on other sites More sharing options...
Recommended Posts