php - Meaning of the ?act=Submit -
this question has answer here:
- what symbol ? mean in url? 2 answers
$("#fm-form").attr("action", "<?php print $this->url; ?>index.php/general/geography/?act=submit");
here fm-form
form id , line of code .phtml file(zend-framework)
can explain me "?act=submit"
this method. get
associative array of variables passed current script via url parameters.
explanation
the method sends encoded user information appended page request. page , encoded information separated ? character.
for example
we have url http://www.test.com/index.htm?name1=value1&name2=value2
features
the method produces long string appears in server logs, in browser's location: box.
the method restricted send upto 1024 characters only.
never use method if have password or other sensitive information sent server.
get can't used send binary data, images or word documents, server.
the data sent method can accessed using query_string environment variable.
the php provides $_get associative array access sent information using method.
update 1
in situation, ?act=submit
technique check form submitting or not.
Comments
Post a Comment