너무 오랜만에 사용하다 보니.. 기억이 가물가물..
이제는 post 방식도 헷갈렸다.

넘어 오면 그냥 이것을 사용하자..ㅋ

//post, get으로 전송됐을 때
foreach ($_REQUEST as $key => $VALUE) {
 $$key = $VALUE;
}

출처:
http://simulz.kr/xe/?mid=board_php_library&sort_index=readed_count&order_type=desc&document_srl=5436

Posted by 노을지기