Posted by Gilles Ganault on 05/09/07 00:33
Hello
I remember a shortcut in Unix scripting that looks somewhat
like this, but I can't remember what it's called, or what it really
looks like:
---- CODE -----------
print <<
all
this
is
sent
as
is
<<
---- CODE -----------
Does someone know what I'm talking about? I think I saw the same thing
in a PHP script once.
The reason I ask, is that I'd like to find a lighter alternative to
this:
---- CODE -----------
print "<html>\r\n";
print "<head>\r\n";
print "\t<meta http-equiv=\"content-type\" content=\"text/html;
charset=iso-8859-1\">\r\n";
print "\t<link rel=\"stylesheet\" href=\"/display.css\">";
print "\t<meta http-equiv=\"Pragma\" content=\"no-cache\">";
print "\t<META HTTP-EQUIV=\"Refresh\" CONTENT=\"60\">";
print "\t<title>My title</title>\r\n";
print "</head>\r\n";
print "<body>\r\n";
---- CODE -----------
Thanks!
Navigation:
[Reply to this message]
|