On Fri, 2003-02-14 at 10:33, [EMAIL PROTECTED] wrote:
> Okay, I'm trying to figure out how to display certain arguments in a URL when the 
>visitor FIRST hits the site, say www.example.com. I'd like the URL to display 
>www.example.com?var=value. I can handle this from this page on to other places within 
>the site, but I'd like it to be consistent and show up even on the initial page. Any 
>ideas?

If you are using php, you could just insert this code in before any
content is sent:

<?php

if (!isset($_GET['var']))
        Header ("Location: http://www.example.com?var=value";);

?>

-- 
Michael Golden <[EMAIL PROTECTED]>

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to