CGI script with username and password

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Zenute Marins Jr

    CGI script with username and password

    Hi all,

    I need to run a CGI script from a Win32 application. I have code in VB6 that do exactly what I want using the Internet Control.

    '... Create Domain thru CGI
    Inet1.AccessTyp e = icUseDefault
    Inet1.Protocol = icHTTP
    Inet1.RemoteHos t = "softam.softam. com.br"
    Inet1.url = "test:test@soft am.softam.com.b r/cgi-bin/vqadmin/vqadmin.cgi"
    Inet1.Execute Inet1.url, "POST", "dname=newdomai n.com.br&pp=pas sword&nav=add_d omain"

    This is what I need, but in C#. To Post data to a web page using username:passwo rd@domain "syntax" to gain access to it.

    Any help?


    --
    Zenute Marins Jr.
    Diretor de Tecnologia
    Software da Amazonia Ltda.
    Quer você precise construir um software customizado ou uma nova aplicação corporativa móvel, nós temos a capacidade e a credibilidade para resolver o seu problema. Temos mais de 10 anos em desenvolvimento de aplicações corporativas móveis.

Working...