Undo register globals & magic quotes