# read your parameters # do some stuff # forward to a url (dont forget the \n\n) print "Location: http://www.server.com/cgi-bin/script/script.pl/dflskjdfsdkf\n\n";