hello Rob,
to answer you question:
What do you mean by 'run' HTML pages? Are you writing
server-side CGI code?

YES - I am actualy wanting to create a hit counter that works when people visit a site from an advertising banner - so the banner will run a perlscript and depending on those results will either present index1.htm or index2.htm to a user. Now, I have created a perl script that creates an index page on the fly, BUT that means that the adress to the site looks like:
http://www.somesite.come/perl/cgi/index.pl


Now, if a visitor creates a favourite using this link then every visit is going to register as a hit from the advertising banner. What I want to do is increment the count and then present http://www.somesite.com/

I know using .asp (I know I know) I can use Response.Redirect "http:/www.somesite.com" - Is there a PERL equivilent ??? (Please say yes - I love perl - it rocks :D)

Thanks for all your help

Anadi

From: "Rob Dixon" <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: Re: Is there a way in PERL ......
Date: Thu, 11 Sep 2003 14:17:08 +0100

Anadi Taylor wrote:
>
> I want to run a perl script that does a check and depending
> on the results of that check i want to run different HTML
> pages. For example: if the check is positive i want to run
> index1.htm else I want to run index2.htm
>
> can this be done ??

Hi Anadi.

Almost certainly yes.

What do you mean by 'run' HTML pages? Are you writing
server-side CGI code?

Rob

_________________________________________________________________
It's fast, it's easy and it's free. Get MSN Messenger today! http://www.msn.co.uk/messenger



-- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to