xmas12 Posted June 19, 2009 Report Share Posted June 19, 2009 Sveiki. Vēlos paprasit mby kadam ir Lietotāju klases script, piemeram Admins/ moderators, Lietotājs un admisn var pievienot nonemt visaadus pluginus bet leitoaajs taa nevar. Reku man ir manas ieveidotas tabulas datubāzei grupas g_id int(11) auto_increment name varchar(20) utf8_unicode_ci access_add int(1) access_edit int(1) access_delete int(1) Un ir lietoaaji tabula . kur glabājās reģistretie leitotaaji webaa. : id int(11) auto_increment vaards varchar(255) utf8_unicode_ci uzvaards varchar(255) utf8_unicode_ci epasts varchar(255) utf8_unicode_ci parole varchar(255) utf8_unicode_ci bilde varchar(255) utf8_unicode_ci online varchar(1) utf8_unicode_ci Var buutk ads var iedod kodu kad piemeram ir klases: Admins/ moderators/ lietotaajs. un admins var kontroleet visu majas lapu caur admin.php piemeram bet kad citas klases iet admin.php tad vinus izmet ara uzreiz. to vareetu izdariit tikai admini. Cerams saprataat :) Quote Link to comment Share on other sites More sharing options...
Aleksejs Posted June 19, 2009 Report Share Posted June 19, 2009 Bija šāda tēma - tur ir pamatideja izskaidrota. http://php.lv/f/index.php?showtopic=10115 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.