Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: Re: href = file doesnt work within script

by Anonymous Monk
on Dec 24, 2003 at 16:13 UTC ( #316878=note: print w/replies, xml ) Need Help??


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.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://316878]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (4)
As of 2019-11-20 04:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Strict and warnings: which comes first?



    Results (96 votes). Check out past polls.

    Notices?