Re: File extensions
shimmyshack wrote:
your server is set up to execute the php inside the files if they end
in .php which is normal. Stuart meant that if you have control over
the server you could change this to say only .pjio files or
a .phtml, .php and .php5 all at once etc.. whatever you choose
There is those who uses
AddType application/x-httpd-php .html
Which will cause the server to work extra as it will parse all html files, of
which most usually don't have any php at all.
--
//Aho
.
Relevant Pages
- Re: redirect / new website how to redirect old (google) links to new site ?
... But why use PHP for some other function such as processing form data. ... to process *all* .html files as php files is an unnecessary overhead. ... That's what a server is for. ... You only need an extension if you directly map a URL onto the server's ... (comp.lang.php) - Re: redirect / new website how to redirect old (google) links to new site ?
... But why use PHP for some other function such as processing form data. ... to process *all* .html files as php files is an unnecessary overhead. ... Your hosting company, for one, unless you're on a dedicated server. ... The extension just allows the server to do the most efficient processing of the file. ... (comp.lang.php) - Re: Need advice on SSI exec cmd and php files
... As this adds extra burden on the server I have it disabled by ... Whether SSI is really /needed/ depends on the content, ... only work if PHP was installed as a cgi. ... see that it's something else than html files. ... (comp.infosystems.www.servers.unix) - Re: Change included code
... Index.php is basically an html file uses a linked css file and when its included in the new file its referencing a css file in the wrong spot. ... It would actually be a bit more trouble since any time I want to upload to the server to test I will have to change the link. ... Would be easier just to have php just add "../" to one spot instead manually doing it every time I upload to the server. ... My server uses public_html to hold html files while my computer doesn't. ... (comp.lang.php) - Re: PHP "within" HTML
... This needs to be placed either in an .htaccess or within the configuration file for your ... Files that are appended with .php are ... processed by the server and output to the browser as text/html files, ... server parses .html files, the server has to scan and check every ... (alt.php) |
|