DrewDouglass


Member since 07/11/2009

Name: Drew Douglass

DrewDouglass

Location: Missouri

Website: Dev-Tips.com

Support Team Assist Lead for Envato support. Web guy.

8 snippets

1387 profile views

1 Comment(s) Posted

View their favorites

Profile

Achievement

first submission:submitting first snipplet

DrewDouglass's Recent Snippets



« 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 612 posted 13 years ago by DrewDouglass
Helpful for remembering useful CURLOPT constants. Taken from an example in the php manual comments.
3 719 posted 14 years ago by DrewDouglass
Plugin Source.
3 588 posted 14 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 495 posted 14 years ago by DrewDouglass
All credit for this snippet goes to Roshan, link is given above.
4 844 posted 14 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 748 posted 14 years ago by DrewDouglass
Thanks to James Padolsey for sharing this script with everyone on his blog, link above.
0 454 posted 14 years ago by DrewDouglass
All credit for this code goes to the all mighty Fou-Lou of codingforums.com (link given).
0 1424 posted 14 years ago by DrewDouglass
« Prev 1 Next »