简体   繁体   English

在Adobe AIR应用程序中打开cPanel(Web主机服务器)

[英]Opening cPanel (web host server) in Adobe AIR Application

I am working on application to open cPanel (web host server) in Adobe AIR. 我正在研究在Adobe AIR中打开cPanel(Web主机服务器)的应用程序。 I know how to open a web page in Adobe AIR, but I don't know how to open cPanel with username and password? 我知道如何在Adobe AIR中打开网页,但不知道如何使用用户名和密码打开cPanel?

I agree with Mudasir just observe when you log in to CPANEL normally how the get variables are passed. 我同意Mudasir的看法,只是观察到正常登录CPANEL时如何传递get变量。 You can do this using the open source tool fiddler (maybe not open source but it is free, I'm sure of that). 您可以使用开放源代码工具的提琴手来做到这一点(也许不是开源的,但它是免费的,我敢肯定)。 Then just modify the URL inside AIR to include the username and password as get variables. 然后,只需在AIR中修改URL,以将用户名和密码作为get变量包括在内即可。

就像这样:

html.location = "http://" + txtDomain.text.toString() + ":2095/login/?user=" + txtUsername.text.toString() + "&pass=" + txtPassword.text.toString();

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM