|  | Posted by David on 07/01/06 04:21 
-Lost wrote:> "Lee" <jlspires@comcast.net> wrote in message
 > news:yuKdnbvikPHASjjZnZ2dnUVZ_q6dnZ2d@comcast.com...
 >
 >> I'm asking this for 'verification", also for a "how to" if you can. Can't you use PHP
 >> code 'inside' of HTML? For instance your page is built as html, within the html coding,
 >> placing <?php ---- ?>.
 >
 > Yes!
 >
 > AddType application/x-httpd-php .htm (or .html OR both!)
 
 That puts a hell of a load on the server. You know the server will have
 to process each and every .htm or .html files looking for php code
 buried with in the page, before it can serve it.  Hence a increase in
 the server load.  <<BAD IDEA>>
 
 You might instead use 'chmod +x filename.htm/html
 
 That way the webserver only parses the htm/html file(s) that contains
 the php code.
 
 
 >
 > This needs to be placed either in an .htaccess or within the configuration file for your
 > server.
 >
 >> If so, what i'm trying to do is read and display from a text file in a particular area.
 >> Would like for it to do like a "scroll" effect to display 'news'. Thanks for the help in
 >> advance.
 >
 > Use the CSS properties overflow, width and height to achieve a scroll effect (by using
 > either, auto or scroll as the attribute).
 >
 > -Lost
 >
 >
 [Back to original message] |