in reply to opening the cd rom
As to open CDROM, you can call win api: (This is not about CGI ;-)
my $f = Win32::API->new("winmm", "mciSendString", "PPNN", "N");
my $ret = ' ' x 127;
my $return = $f->Call('set CDAudio door open', $ret, 127, 0);
Of course using this in a CGI would open the tray on your server. Might even be somewhat useful as a primitive hit counter, or at least it could amuse the guys in the server room . . . :)
www.com | www.net | www.org
Results (82 votes). Check out past polls.