flatearthcomms


Member since 11/26/2008

13 snippets

4900 profile views

1 Comment(s) Posted

View their favorites

Profile

Achievement

first submission:submitting first snipplet

flatearthcomms's Recent Snippets



« Prev 1 Next »
Allows for forname.o'[email protected]
0 1114 posted 9 years ago by flatearthcomms
Simple PHP search with whole word extract and highlighted search word
0 1141 posted 10 years ago by flatearthcomms
Translate non alphanumeric characters into an underscore. Doesn't create double underscores if there's two spaces in a row. Also turns name to lowercase. Use with trim to avoid spaces at front or end.
0 1689 posted 10 years ago by flatearthcomms
Mysql find duplicate values in field
0 1252 posted 10 years ago by flatearthcomms
cd to directory, then run the line below to change any spaces in a filename to hyphens
0 1968 posted 10 years ago by flatearthcomms
Zip all files in a directory files into separate archives
0 1330 posted 10 years ago by flatearthcomms
Set up a .git repository using terminal
0 1187 posted 10 years ago by flatearthcomms
Format a mysql datetime into a PHP date
0 1150 posted 11 years ago by flatearthcomms
Stop a link overflowing it's parent's width
0 925 posted 11 years ago by flatearthcomms
Prints out a list of any field containing duplicates with count
0 1074 posted 11 years ago by flatearthcomms
Resize and image to fit a predetermined canvas size
0 1186 posted 13 years ago by flatearthcomms
Stop a spam email form header injection attack - ie stop spammers from hijacking a web form to send junk mail
0 773 posted 14 years ago by flatearthcomms
« Prev 1 Next »