I was just checking the cgi redirect and wondering that it's not redirecting to the page specified. Below is the simple code:
#!C:/perl/bin/perl.exe use strict; use CGI qw(:standard); print header,start_html,h1('redirecting to a different page'); sleep 5; print redirect('http://localhost/html/test.html'); print end_html;
Upon executing on browser I am getting the output "'redirecting to a different page" but it's not redirecting to the html page mentioned. Am I doing anything wrong? Please let me know.
Thanks.In reply to cgi redirect by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |