Adding materials for php post and get handling