URIs vs Hidden Forms
Posted
by NateDogg
on Stack Overflow
See other posts from Stack Overflow
or by NateDogg
Published on 2009-06-11T14:53:49Z
Indexed on
2010/05/20
21:10 UTC
Read the original article
Hit count: 232
I'm working in the Codeigniter framework, and want to send requests to my controller/model that have several variables involved. Is there a difference between passing those variables via a hidden form (i.e. using "post") as opposed to passing them through URIs (e.g. 'travel/$month/$day/')? What about security concerns?
e.g.
URIs:
http://www.example.com/travel/$month/$day/
Hidden Form:
form_hidden('month',$month);
form_hidden('day',$day);
© Stack Overflow or respective owner