/ Published in: PHP
                    
                                        Function to retrieve all image files in a given directory
                
                            
                                Expand |
                                Embed | Plain Text
                            
                        
                        Copy this code and paste it in your HTML
 function listImages($dirname=".") { $files[] = $file; } return($files); }
Comments
                    Subscribe to comments
                
                