Skip to content

Instantly share code, notes, and snippets.

Avatar
💭
In Progress

Subhendu Mondal subhendumondal

💭
In Progress
  • Kolkata
View GitHub Profile
@subhendumondal
subhendumondal / UserInput.php
Created Dec 8, 2018 — forked from chtombleson/UserInput.php
Helper Class for sanitizing user input in PHP
View UserInput.php
<?php
/*
* The MIT License (MIT)
*
* Copyright (c) 2014 Christopher Tombleson <chris@cribznetwok.com>
*
* 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