PDA

View Full Version : help with a really simple script


theMezz
10-02-03, 04:53 PM
Can someone help?
I need a real simple script that displays a message an a clickable link.

AIt just has to display to the viewer

"This page has been moved to http://cnyEats.com" and the url must be clickable.

Thanks for any replies.

Chroder
10-02-03, 05:26 PM
Why not just use an HTML page?

But, if it needs to be Perl then try this

#!/usr/bin/perl


print "Content-Type: Text/HTML\n\n";
print "This page has been moved to <a href=\"http://cnyEats.com\">http://cnyEats.com</a>";

theMezz
10-03-03, 11:49 AM
Why not just use an HTML page?

But, if it needs to be Perl then try this

#!/usr/bin/perl


print "Content-Type: Text/HTML\n\n";
print "This page has been moved to <a href=\"http://cnyEats.com\">http://cnyEats.com</a>";



I will try that - THANKS

I cannot use html because everyone has the page bookmarked as http://themezz.com/cgi-local/recipes/webbbs_config.pl

Thanks again !!!

rob2132
10-04-03, 10:26 PM
I will try that - THANKS

I cannot use html because everyone has the page bookmarked as http://themezz.com/cgi-local/recipes/webbbs_config.pl

Thanks again !!!

I think the poster suggested your print the HTML when they said "why not just use HTML". That example serves the purpose and seems to be what you're looking for. The simple solutions are always nice.