html to php
Moderator: General Moderators
- RobertGonzalez
- Site Administrator
- Posts: 14293
- Joined: Tue Sep 09, 2003 6:04 pm
- Location: Fremont, CA, USA
- RobertGonzalez
- Site Administrator
- Posts: 14293
- Joined: Tue Sep 09, 2003 6:04 pm
- Location: Fremont, CA, USA
- RobertGonzalez
- Site Administrator
- Posts: 14293
- Joined: Tue Sep 09, 2003 6:04 pm
- Location: Fremont, CA, USA
- tecktalkcm0391
- DevNet Resident
- Posts: 1030
- Joined: Fri May 26, 2006 9:25 am
- Location: Florida
First of all... who is more creditable:Everah wrote:Last Post...
Believe what you will. Just try not to take others down with you.
Everah with 11186 posts (at time of this post)
-or-
VladSun with 416 posts (at time of this post)
.... and I agree... the server will look for .php files if a .phps file exists.
- RobertGonzalez
- Site Administrator
- Posts: 14293
- Joined: Tue Sep 09, 2003 6:04 pm
- Location: Fremont, CA, USA
Look at linux-bg.org forums - I have 1000+ posts, Everah has 0 - does it mean Everah has absolutely no knowledge of Linux?!?tecktalkcm0391 wrote:First of all... who is more creditable:Everah wrote:Last Post...
Believe what you will. Just try not to take others down with you.
Everah with 11186 posts (at time of this post)
-or-
VladSun with 416 posts (at time of this post)
Gosh!tecktalkcm0391 wrote:.... and I agree... the server will look for .php files if a .phps file exists.
Make a google search on "secure Apache PHP installation" ... Don't be surprised if nobody cares about your imaginable *.phps security issues
There are 10 types of people in this world, those who understand binary and those who don't
- CoderGoblin
- DevNet Resident
- Posts: 1425
- Joined: Tue Mar 16, 2004 10:03 am
- Location: Aachen, Germany
Rather than get into a "Who knows best" situation, surely it just makes sense that if you don't need an apache setting you don't set it as you never know when your code/application will be needed in a different environment. highlight_file() will suffice if required in the majority of instances. I would question when you would need to show server php code anyway outside of something like PHPDocumentor. This uses highlight_file unless I am very much mistaken and should never be accessible to everyone without some method of protection via password or behind a firewall.
The number of posts is not a valid quantifier of how much someone knows but we must all be open to new ideas. There isn't many days I look on these forums and don't learn something even if I have posted over a thousand replies to people and I am pleased by this. Using these forums allows me to help other and to be helped at the same time.
The number of posts is not a valid quantifier of how much someone knows but we must all be open to new ideas. There isn't many days I look on these forums and don't learn something even if I have posted over a thousand replies to people and I am pleased by this. Using these forums allows me to help other and to be helped at the same time.
- RobertGonzalez
- Site Administrator
- Posts: 14293
- Joined: Tue Sep 09, 2003 6:04 pm
- Location: Fremont, CA, USA
I believe I may have to humble myself. I had set phps at one point to display the source of PHP files on a server. I believe I am wrong in this thread in that from my current tests, phps extensioned filed seem to be necessary on a plain jane setup of PHP on Apache. So in essence, in order to parse the source of a .php file you would need to not only have the phps file extension parser directive set in the httpd.conf file, you would also have to literally save the same .php file to the server with a .phps extension.
I apologize for giving inaccurate information. SuperD, thanks for getting my back, but I do believe in this instance I may be wrong as it relates to my current arguments in this thread.
I apologize for giving inaccurate information. SuperD, thanks for getting my back, but I do believe in this instance I may be wrong as it relates to my current arguments in this thread.
- RobertGonzalez
- Site Administrator
- Posts: 14293
- Joined: Tue Sep 09, 2003 6:04 pm
- Location: Fremont, CA, USA
-
asif_phpdn
- Forum Commoner
- Posts: 28
- Joined: Sun Aug 26, 2007 8:50 pm