Jump to content

Your Input validation


thewooleymammoth

Recommended Posts

I dont need any help, but i wanted to know what different experts use to validate input.

example:

<?php
  $info = is_numeric($_GET['non_numeric_malicious_code']);
  if(filter_var($_GET['non_email_malicious_code'],  FILTER_SANITIZE_EMAIL)
    $e_mail = $_GET['non_email_malicious_code'];
?>

What do you use?

Link to comment
https://forums.phpfreaks.com/topic/193170-your-input-validation/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.