Profile
Achievement
 
    
                DrewDouglass's Recent Snippets
- All /
 « Prev 1 Next »
Originally written by Jason Lengstorf, rewritten by Drew Douglass, packaged into the EnnuiCMS (link above), can be used as standalone class.
Be sure to change or define your constants for PAGE_OBJ_WIDTH and PAGE_OBJ_HEIGHT when using the YouTube m...
        
        
        
            1 
        
        
            1211 
        
                    posted 15 years ago by DrewDouglass
            Helpful for remembering useful CURLOPT constants. Taken from an example in the php manual comments.
        
        
        
            3 
        
        
            1419 
        
                    posted 16 years ago by DrewDouglass
            Takes advantage of the SPL. Much easier and maintainable than the previous revisions. Haven't done any benchmarks yet but I imagine it is much faster. "If you want to omit directories, remove the RecursiveIteratorIterator::SELF_FIRST part."
        
        
        
            3 
        
        
            1100 
        
                    posted 16 years ago by DrewDouglass
            All credit for this snippet goes to Roshan, link is given above.
        
        
        
            4 
        
        
            1829 
        
                    posted 16 years ago by DrewDouglass
            More info found in the link above, basically, you can replace the $config['base_url'] to the snippet below and you no longer need to set the base url. Useful for making your application more portable.
        
        
        
            7 
        
        
            1680 
        
                    posted 16 years ago by DrewDouglass
            Thanks to James Padolsey for sharing this script with everyone on his blog, link above.
        
        
        
            0 
        
        
            989 
        
                    posted 16 years ago by DrewDouglass
            All credit for this code goes to the all mighty Fou-Lou of codingforums.com (link given).
        
        
        
            0 
        
        
            2481 
        
                    posted 16 years ago by DrewDouglass
            