This is how we do it...

open CSS, "/home/username/public_html/orderform.css";
while ( <CSS> )
{
  $csstext .= $_;
}
close CSS;

print<<"end_results";

<html>
<head>
<title>Order Form</title>
<STYLE TYPE=text/css>
<!--
$csstext
-->
</STYLE>
</head>
<body>...</html>

end_results
}

Note that the path is relative to the machine root and not your web root.

Mike

______________________________________________________________________
css-discuss [cs...@lists.css-discuss.org]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to