How to create custom log in webpage?

How can I create a custom log in webpage to send username and password to orthanc http server, so the “Orthanc Secure Area” window will not pop up?

Problem solved.
Tried using php function like fsockopen and curl to set http header authentication value, but without success.
Later referring to this javascript example:, and got it solved.
Just one minor change:
change “form.method = “get””
to “form.method = “post”;”

在 2014年8月17日星期日UTC+8下午8时03分27秒,Qaler写道:

Thanks for this interesting information!