#!/usr/bin/perl #out_con.cgi* use CGI; use SWW_CGI; #----------------------------- $ulr="http://www.progsite.com/"; $htmpath="../"; $fconect=$htmpath."form_conect_empl.htm"; #------------------------------------------------- $cookie = $ENV{'HTTP_COOKIE'}; open BB,'>>ad.ad'; print BB 'Da '.$cookie."\n"; close BB; $cc=new CGI; %hrm=$cc->cookie('grc'); print "Content-Type: text/html\n\n"; print SWW_CGI::file_sout $fconect,%hrm;