kalabox Posted January 13, 2011 Report Share Posted January 13, 2011 (edited) atkal es :) Radaas man taada kljuuda nolasot failus no direktorijas Warning: readdir() expects parameter 1 to be resource, boolean given in /home/iepazist/public_html/se/newadmin/inc/func/admin_globals.php on line 787 luuk 787 rinda while( true !== ( $file = readdir( $dh ) ) ){ // Loop through the directory Kaa izlabot?? :) Ar opendir? Edited January 13, 2011 by kalabox Quote Link to comment Share on other sites More sharing options...
Blitz Posted January 13, 2011 Report Share Posted January 13, 2011 (edited) jā, $dh=opendir... būtu labāk vispirms pameginajis pirms postēt šeit, tak nedaudz cieņas pret forumu... :/ tāda sajūta ka tu seit skrien pie katra saņemtā errora. Edited January 13, 2011 by Blitz Quote Link to comment Share on other sites More sharing options...
kalabox Posted January 13, 2011 Author Report Share Posted January 13, 2011 uzliku taa if( $dh = opendir($dir)) Tagat taada kljuuda Warning: closedir() expects parameter 1 to be resource, boolean given in /home/iepazist/public_html/se/newadmin/inc/func/admin_globals.php on line 801 closedir( $dh ); Quote Link to comment Share on other sites More sharing options...
bubu Posted January 13, 2011 Report Share Posted January 13, 2011 Tad lasam dokumentāciju, nevis skrienam uz forumu! http://php.net/opendir Return Values Returns a directory handle resource on success, or FALSE on failure. Quote Link to comment Share on other sites More sharing options...
kalabox Posted January 14, 2011 Author Report Share Posted January 14, 2011 kam tad forums domaats, lai pajautaatu, kur, kas, ko ,kā?.. Vai ne?? Quote Link to comment Share on other sites More sharing options...
Blitz Posted January 14, 2011 Report Share Posted January 14, 2011 http://php.lv/f/index.php?app=forums&module=extras§ion=boardrules Lasiet manuāli! Tas, ka jūs to neprotat lietot, nenozīmē, ka jums ir tiesības piesārņot šo forumu. Visi jautājumi, uz kuriem ir atbildēts, un ja uz tiem ir iespējams ātri atrast atbildi, tiks vienkārši izdzēsti. Bez komentāriem. Ar meilu jums (ja paveiksies) par to, kā atbildi atrast. Ja pavisam paveiksies, tiks atbildēts ar linku uz foruma tematu, kur tas jau ir noskaidrots. 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.