googlei pilna yra http://www.google.lt/search?hl=lt&rlz=1T4GGLJ_ltLT265LT326&q=htaccess+password&btnG=Paie%C5%A1ka&meta=lr%3Dlang_lt "Nymo" <nymo.dar@gmail.com> wrote in message news:h3aav3$ess$1@trimpas.omnitel.net... > Gali pasakyt kaip, nes nezinau kaip tai padaryti? > > "Nezinau" <nezinau@neturiu.lt> wrote in message > news:h39msl$tr3$1@trimpas.omnitel.net... >>o ne paprasciau su .htaccess? >> >> "Nymo" <nymo.dar@gmail.com> wrote in message >> news:h370em$b5t$1@trimpas.omnitel.net... >>> Vietoj index.php pakeiciau view_users.php, cia tas apsaugotas failas, >>> dabar visai neatidaro to failo, ismeta "HTTP 403 Forbidden". >>> Kodel nesuveikia tai? >>> >>> "dgjgh" <sdfsdf@asdf.com> wrote in message >>> news:h36sg6$4n9$1@trimpas.omnitel.net... >>>> Ten as sumaisiau, turi buti kaip tu parasei. Matai index.php, nes >>>> tikriausiai 'email' reiksme sesijoje atitinka salyga, ir uzkraunamas >>>> index.php failiukas >>>> >>>> >>>> "Nymo" <nymo.dar@gmail.com> wrote in message >>>> news:h36osh$u9f$1@trimpas.omnitel.net... >>>>> dgjgh, patark, kodel neveikia tavo pasiulytas scriptukas? Ikelus i >>>>> norimo psl. kodo pradzia, visai neatidaro psl. Pasiknaisiojau po >>>>> google, radau toki pat pvz, tik Location iskeltas i prieki; >>>>> >>>>> <? >>>>> >>>>> if (!$session['email']) >>>>> { >>>>> header("Location:index.php"); >>>>> } >>>>> ?> >>>>> Prisiloginus, bandant uzkrauti ta apsaugota faila, neatidaro,rodo >>>>> index faila. >>>>> Aciu. >>>>> >>>>> >>>>> "Nymo" <nymo.dar@gmail.com> wrote in message >>>>> news:h2vk8b$4sp$1@trimpas.omnitel.net... >>>>>> Aciu. >>>>>> >>>>>> "dgjgh" <sdfsdf@asdf.com> wrote in message >>>>>> news:h2vhma$ra$1@trimpas.omnitel.net... >>>>>>> paprasciausias budas tai gal kiekvieno failiuko pradzioje irasyti >>>>>>> kazka panasaus >>>>>>> <?php >>>>>>> if (!$session['prisijunges']) >>>>>>> { >>>>>>> Location("header: /index.php"); >>>>>>> } >>>>>>> ?> >>>>>>> >>>>>>> "Nymo" <nymo.dar@gmail.com> wrote in message >>>>>>> news:h2vad5$kkh$1@trimpas.omnitel.net... >>>>>>>> Sveiki, >>>>>>>> >>>>>>>> Nelabai ismanau, ar galetumete padeti. Padariau psl., kuriame yra >>>>>>>> "Login", prisilogina viskas ok, bet browserio adreso laukelyje jei >>>>>>>> ir ne prisilogini, ivedi failiuko pavadinima ir ji atidaro. Kaip >>>>>>>> padaryti, kad ji butu galima pamatyti, tik prisilogimus? >>>>>>> >>>>>>> >>>>>> >>>>>> >>>>> >>>> >>>> >>>> >>> >> >> >