Revision: 16418
                            
                                                            
                                    
                                        
Initial Code
                                    
                                    
                                                            
                                    
                                        
Initial URL
                                    
                                    
                                
                                                            
                                    
                                        
Initial Description
                                    
                                    
                                                            
                                    
                                        
Initial Title
                                    
                                    
                                                            
                                    
                                        
Initial Tags
                                    
                                    
                                
                                                            
                                    
                                        
Initial Language
                                    
                                    
                                                    
                        at August 3, 2009 19:40 by nhassan
                            
                            Initial Code
<?php
$json = 'http://api.flickr.com/services/rest/?format=json&method=flickr.photos.search&api_key=#&tags=handbags&sort=relevance&page=1';
$json = file_get_contents( $json );
$json = substr( $json, 14, strlen($json)-15 );
$json = json_decode( $json, true );
foreach( $json['photos']['photo'] as $i => $d ) {
	$url = 'http://farm' . $d['farm'] . '.static.flickr.com/' . $d['server'] . '/' . $d['id'] . '_' . $d['secret'] . '_b.jpg';
	
	// $image=file_get_contents( $url );
	// file_put_contents('dl2/' . $d['secret'] . '.jpg', $image);
	
//	echo $d['secret'] . '.jpg';
	echo '<img src="' . $url . '" />';
}
?>
                                Initial URL
Initial Description
ability to save files as well
Initial Title
get large flickr photos based on topic
Initial Tags
Initial Language
PHP