php - Hide input values from source code -
i'm using simple api html parameters hide (from source code) values fields (like api username , password) , hide form action value (that appears link on submit button).
code example:
<form name="test" action="https://test.com/api.php" method="post"> <input name="user" type="hidden" value="test"> <input name="password" type="hidden" value="test"> <input type="submit" value="send"> </form> any ideas?
maybe adding values in php file?
you have create php action file, redirect form php file, fill user , password fields , use curl post data php , data other api .
Comments
Post a Comment