acosonic


Member since 08/27/2009

11 snippets

4150 profile views

0 Comment(s) Posted

View their favorites

Profile

Achievement

first submission:submitting first snipplet

acosonic's Recent Snippets



« Prev 1 Next »
This .htaccess actually forces all traffic to https, and allows cakephp app to work properly, as well as letsencrypt to go thru
0 1495 posted 7 years ago by acosonic
Name this script whatever you want, and run it via Workbench Scripting shell
0 1203 posted 7 years ago by acosonic
This snippet adds credit card select box dropdown values 10 years in future from current year.
0 1279 posted 8 years ago by acosonic
navigate to your svn repo folder and type: svn add * --force
0 1006 posted 13 years ago by acosonic
1 2880 posted 14 years ago by acosonic
Well, there is many faulty C# timestamp handling codes. Here is a proper one, use UtcNow instead Now if you need UTC timestamp...
1 1023 posted 14 years ago by acosonic
provide file via URL var, and script will grab it & force download. Take a look at code, and add some of your filetypes if required
2 3086 posted 15 years ago by acosonic
sendmail needs to be working and configured properly uses popen and fputs
0 1244 posted 15 years ago by acosonic
Dumps whole query so developer can see where is error. However it's potential security issue, exposing SQL commands to attacker. (Recommended to use only during development, replace message code with some custom error text)
0 1039 posted 15 years ago by acosonic
« Prev 1 Next »