Rich Bitch Posted August 13, 2010 Report Share Posted August 13, 2010 Taatad man ir 2 dazhaadi domeeni jeb lapas (piemeera, test1.lv un test2.lv), kuras kopiigi dala vienu css failu, vairaakus dizaina bilzhu failus un vairaakus php failus (utt.). Shos failus es gribeetu nolikt kaut kur virs publiskaas direktorijas. Ar php failiem nav probleemas, noliek tos piemeeram 2 mapes "augstaak" un peec tam panjem ar include_once("../../mape_kur_stav_faili"), bet nesaprotu kaa lai "panjem" css failu un dizaina bilzhu failus. Varbuut kaadam idejas? Quote Link to comment Share on other sites More sharing options...
codez Posted August 13, 2010 Report Share Posted August 13, 2010 css un js failus ņem klienta pusē, nevis, kā php failus, servera pusē. Vienkāršākais veids būtu, liec tos failus uz test1.lv un test2.lv html-ā inklūdo no http://test1.lv Quote Link to comment Share on other sites More sharing options...
briedis Posted August 13, 2010 Report Share Posted August 13, 2010 Mod Alias Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.