Horde Class
Form Data
URLs


Horde::getFormData()


<?php

// Get a variable from GET or POST data
$f_var Horde::getFormData('var');

// Remove magic quotes from a variable if necessary
$HTTP_POST_VARS['foo'] = Horde::dispelMagicQuotes($HTTP_POST_VARS['foo']);

?>
  

  • Static method in the Horde class
  • Handles GET or POST data
  • Strips magic quotes if they are on