in reply to Re: href = file doesnt work within script
in thread href = file doesnt work within script

I am using templates so there is no need for Content-Type: text/html\n\n. Though I tried it anyway. I also added the file://, but again no success. Also, there are no errors in the log. I just dont understand why I cant get something so simple to work. Ahh! Thanks for trying
  • Comment on Re: Re: href = file doesnt work within script

Replies are listed 'Best First'.
Re: Re: Re: href = file doesnt work within script
by kutsu (Priest) on Dec 24, 2003 at 16:25 UTC

    Which Template?

    From HTML::Template

    # send the obligatory Content-Type and print the template output print "Content-Type: text/html\n\n", $template->output;

    "Pain is weakness leaving the body, I find myself in pain everyday" -me

Re: Re: Re: href = file doesnt work within script
by Anonymous Monk on Dec 24, 2003 at 19:40 UTC
    $template->param()
    Would lead me to believe that you are using HTML::Template. In which case, you DO need to print a content-type header to the browser.