Skip to content

Instantly share code, notes, and snippets.

View subhendumondal's full-sized avatar
💭
In Progress

Subhendu Mondal subhendumondal

💭
In Progress
  • Kolkata
View GitHub Profile
@subhendumondal
subhendumondal / UserInput.php
Created December 8, 2018 05:00 — forked from chtombleson/UserInput.php
Helper Class for sanitizing user input in PHP
<?php
/*
* The MIT License (MIT)
*
* Copyright (c) 2014 Christopher Tombleson <[email protected]>
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell