http get

Before you program close connection OR sending out \r\n\r\n, you will need to send out this line:
"Authorization: Basic " immediately followed by Base64 encrypted userid:password
If in any line before this encrypted password line, your program sending two \r\n, it will not work.
 
When sending encryption string, it has to be done in the CGI code on the server. The CGI code can be written in perl, php, C, java.
What kind of CGI code SiteSpinner generate?  You probably have to manually tweak the CGI code from SiteSpinner.
 
pittom said:
Rossw
 I tried   http://   admin:password @192.168.1.15 /gett1.cgi  with no luck
 
Well, if you are sure the username and IP address are correct, then whatever application you're using to retrieve it is brain-dead.
If you're using Unix, Linux or OS/X, try wget, fetch or curl.
If you're using windows there is probably something out there that'll kinda work.
 
I know absolutely for sure the above works, because I use it on my FreeBSD boxes to read from dozens of webcontrol boards.
 
ya password/address good,i have web page with iframe(displays value of gett)but when i open page i made for every gett statement   i get the login display (6 of them) if i longin to one of them i am ok but don't want that
 
this is what i tried,without the admin:password works just have to log in and with admin:password still have to login
 
http://admin:p[email protected]:250/gett1.cig 
 
I am using windows and android phone with same results
 
pittom said:
ya password/address good,i have web page with iframe(displays value of gett)but when i open page i made for every gett statement   i get the login display (6 of them) if i longin to one of them i am ok but don't want that
 
this is what i tried,without the admin:password works just have to log in and with admin:password still have to login
 
http://admin:p[email protected]:250/gett1.cig 
 
I am using windows and android phone with same results
 
 
You have consistently put    .cig   not .cgi  -  which are you using?
You say "it doesn't work". What, EXACTLY are you getting back?
 
What kind of server do you run?  We contacted  SiteSpinner, they told us their software does not generate any CGI code, however, it does not prevent user add his own CGI code.  Is that possible your web server filtering what sending out? 
 
i am making web page with sitespinner and am putting web control commands in iframes. It works  great the only problem is when you first open web page the web control login pops up. I have 12 commands set up on page so i get 12 login that popup.When they are all done loading i just have to login into 1 then all is good.
 
I wan't to get rid of login pop ups
 
I am using SiteSpinner to make web page because i don't know c code.    as for using server, i am using apache server on my computer 
 
Back
Top