Member since 09/18/2008

Website: http://www.umaniac.com/

Other sites: http://www.codesnippt.com/ needs redoing: http://www.footymania.com/ http://www.engamic.com/ http://www.leafytractor.com/

3 snippets

736 profile views

5 Comment(s) Posted

View their favorites

their Tags



first submission:submitting first snipplet

duniyadnd's Recent Snippets

« Prev 1 Next »
I'll never learn how to use this Markdown system. Anyway, here is the fixed code based on my comment on the following page: http://snipplr.com/view/14206/replace-spaces-with-underscores/ I'm sorry, I don't mean to hijack the code. :(
0 521 posted 13 years ago by duniyadnd
Alternative to [http://snipplr.com/view/12616/strip-url-to-its-domain-name/](http://snipplr.com/view/12616/strip-url-to-its-domain-name/, "this snippet"), as it didn't come out clearly in the comments. Update - Edited based on gdvickery's commen...
3 667 posted 13 years ago by duniyadnd
Figure out if the string possesses only hexadecimal characters in the string. If not, fail. Remember, white spaces are not hexadecimal, so make sure you trim() your strings before you send it in or explode your string.
0 757 posted 13 years ago by duniyadnd
« Prev 1 Next »