user20 Posted July 26, 2005 Report Share Posted July 26, 2005 ir login sisteema, peec ielogoshanaas vajadzeetu lai adminam paraadaas admin.php lapa, bet parastiem useriem html forma, un ir access leveli liidz 9, adminam ir 9, taatad kaa uztaisiit taadu paaradresaasiju? skripta source code dalja:http://paste.php.lv/2260 Link to comment Share on other sites More sharing options...
bubu Posted July 26, 2005 Report Share Posted July 26, 2005 (edited) header('HTTP/1.1 302 Found'); header('Connection: close'); header('Location: ' . ($access_level<9?'html_forma.html':'admin.php')); die(); Edited July 26, 2005 by bubu Link to comment Share on other sites More sharing options...
user20 Posted July 26, 2005 Author Report Share Posted July 26, 2005 taa neiet! caur "if ( isset..." vai tad nevar ? Link to comment Share on other sites More sharing options...
bubu Posted July 26, 2005 Report Share Posted July 26, 2005 Pričom tur isset kautkāds? Link to comment Share on other sites More sharing options...
user20 Posted July 26, 2005 Author Report Share Posted July 26, 2005 nee viss darbojas! paldies liels :) Link to comment Share on other sites More sharing options...
Recommended Posts