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

Popular posts from this blog

get url and add instance to a model with prefilled foreign key :django admin -

android - Keyboard hides my half of edit-text and button below it even in scroll view -

css - Make div keyboard-scrollable in jQuery Mobile? -