Welcome To Snipplr


Everyone's Recent Snippets Tagged c



1 ... 144 145 146 147 148 ... 554
The function returns the "sanitized" version of user input. Use before putting variables into SQL code.
0 1189 posted 14 years ago by nebojsac
0 1076 posted 14 years ago by kbrown
1 874 posted 14 years ago by stuartleitch
This piece of code is at least ten years old and I don't remember exactly, where I have found it. Probably it had been stolen from my friend VeZyR;)
0 1898 posted 14 years ago by michaJlS
0 1288 posted 14 years ago by loungerdork
0 1003 posted 14 years ago by loungerdork
0 1131 posted 14 years ago by stancox
0 3069 posted 14 years ago by stewartduffy
0 1014 posted 14 years ago by kidmizere
Use Facebook's sharer to easily post status updates to Facebook. The three meta tags control the default content Facebook pulls to create the post.
0 1196 posted 14 years ago by dmertl
0 1207 posted 14 years ago by dmertl
0 1142 posted 14 years ago by kbrown
You don't modify the CMSDesk in order to display only the date or only the time. You do it through the aspx control. http://authors.aspalliance.com/aspxtreme/sys/globalization/demos/DateTimeFormatInfoGetAllDateTimePatterns.aspx
0 3150 posted 14 years ago by inreflection7
Resize and image to fit a predetermined canvas size
0 1533 posted 14 years ago by flatearthcomms
0 880 posted 14 years ago by craig0990
Simple snippet to get a shadow on text in css
0 1036 posted 14 years ago by paulund
0 1051 posted 14 years ago by griffpup
0 1015 posted 14 years ago by griffpup
If you have Zend_Navigation in your application, you will use navigation.xml. This code set the page title ($this->view->headTitle()) with the current page title in navigation.xml. $navigation->current() doesn't work in my opinion.
0 2194 posted 14 years ago by postNuKe
Get the value of the autonumber field for the last record inserted into an Access database via the current connection.
0 1256 posted 14 years ago by wizard04
Couple of ways to check if HTML5 form elements exist and use a fallback if they don't.
0 1194 posted 14 years ago by vagrantradio
http://beyondrelational.com/ask/nakul/questions/10/how-to-remove-server-name-item-from-sql-server-management-studio.aspx
0 2534 posted 14 years ago by derebus
"This was a requirement that the client had because there were differences in how various browsers were displaying the same PDFs. By setting the "Content-Disposition" header to "attachment" it forces the user to download the file. I thought this was...
0 3134 posted 14 years ago by inreflection7
0 1800 posted 14 years ago by jigante
0 1159 posted 14 years ago by adrianparr
1 ... 144 145 146 147 148 ... 554