[Dxspider-support] CGI
Ruben Navarro Huedo
eb5esx at eb5esx.ampr.org
Tue May 16 18:54:56 BST 2006
Hello friends:
We are trying to setup a CGI to extract last 25 DX from our Spider.
We have done it with expect. Something like this:
#!/usr/bin/expect
puts "Content-type: text/plain\n"
log_user 0
spawn telnet localhost 8000
expect -exact "login: "
send -- "eb5esx-3\r"
expect "dxspider >"
send -- "set/noecho\r"
expect "dxspider >"
send -- "sh/dx 25\r"
log_user 1
expect "dxspider >"
log_user 0
send -- "bye\r"
expect eof
But...each time somebody use the CGI we can see connection and
disconnection in the spider.
Is possible to dissable login / logout announces only for One user?
Or...has anybody done some CGI to do this using data files of spider?
Thank's a lot.
More information about the Dxspider-support
mailing list