Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re^4: Simple Perl print() output redirect to html/webpage.

by Anonymous Monk
on Sep 03, 2012 at 07:24 UTC ( #991374=note: print w/ replies, xml ) Need Help??


in reply to Re^3: Simple Perl print() output redirect to html/webpage.
in thread Simple Perl print() output redirect to html/webpage.

Beware, though. If you want to embed the script's output in HTML (instead of plaintext as I did there), you need to make sure that it doesn't contain any of the following characters: <>& (and maybe '"). Instead, escape them properly. For that, the pass-through function php supplies doesn't work.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (4)
As of 2016-08-28 11:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    The best thing I ever won in a lottery was:















    Results (392 votes). Check out past polls.