where is the form post url
I get the source codes of a web form in which use 'post' methos to upload files
<form action="" method="post" enctype="multipart/form-data" name=开发者_运维技巧"form1" id="form1">
there should be url after action=
but for this case is
action=""
where is the form post url?
Welcome any comment
If no action is given (should never be the case, but often is) the form will be submitted to the same page. If you have a script that handles uploads the action should be set to that url, such as action="upload.php"
try wireshark: http://www.wireshark.org/download.html
You will see the final request which is being sent by the website. Then you can do the same from your code. It always helps me a lot. Really useful tool.
精彩评论