The following warnings occurred:
Warning [2] Undefined variable $unreadreports - Line: 26 - File: global.php(961) : eval()'d code PHP 8.2.25 (Linux)
File Line Function
/global.php(961) : eval()'d code 26 errorHandler->error
/global.php 961 eval
/showthread.php 28 require_once





× This forum is read only. As of July 23, 2019, the UserSpice forums have been closed. To receive support, please join our Discord by clicking here. Thank you!

  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Input class - question
#2
Yeah. Every once in a while it makes sense to not do it. You can just use $_POST['form_field_name'];

A lot depends on what you're going to do with that data. If you aren't sanitizing on the way in, you might want to consider sanitizing on the way out when you're displaying the code itself. Especially if it is somewhere where your users are entering content that will be displayed. You don't want them to be able to write javascript in there that gets renedered

  Reply


Messages In This Thread
Input class - question - by baljee - 02-16-2018, 03:12 PM
Input class - question - by dan - 02-16-2018, 09:08 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)