|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Get inside! Sample the range of functionality easily built with JMSL Library for Time Series Data Analysis, Heat Maps, Portfolio Optimization, Monte Carlo Simulation, Stock Price Charting and more. Download Now! |
|
#1
|
|||
|
|||
|
Hi
When my perl script is called from a web page it creates a text file then outputs the results to the client's browser using print <<'end_print_tag'; <html> . . . </html> This works fine, but if you then refresh the results page you just get the raw HTML <html> . . . </html> Any pointers on how to stop this would be much appreciated. Mike |
|
#2
|
|||
|
|||
|
Hi
Can you post the code you are using? print <<'end_print_tag'; <html> . . . </html> end_print_tag - have you put this bit in? |
|
#3
|
|||
|
|||
|
Hi
>end_print_tag - have you put this bit in? Yes. The problem seems to have improved with a few changes to the server and by adding no cache meta tags to the page. However it still seems scary that this can happen. Regards Mike |
|
#4
|
|||
|
|||
|
make sure the very first thing thats printed is the header...
print "Content-type: text/htmlnn"; print << end_print_tag; <HTML> .. </HTML> end_print_tag |
![]() |
| Viewing: Dev Shed Forums > Programming Languages > Perl Programming > Perl output not interpreted by Browser |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|