post/redirect/get pattern for forms in php