What is the file extension .PHPS? And what is it used for?
What is the file extension .PHPS? And what is it used for?
I'm doing an online challenge where I have to log on to a server with a username and password. I inspected element and found a comment in the HTML code saying that the details are in 'page.phps' in case he forgets the details. So I was wondering: what's the difference between .php
and .phps
?
.php
.phps
2 Answers
2
If you use .php as your extension to a file, the server will then interpret the code behind that script and returns the desired output.
While .phps will just output literally a color-formatted content of that script as shown below.
The PHPS file type is primarily associated with 'PHP Source' by The PHP Group. Generally, PHP files will get interpreted by the Web server and PHP executable, and you will never see the code behind the PHP file. If you make the file extension .PHPS, a properly-configured server will output a color-formated version of the source instead of the HTML that would normally be generated.
Not all servers are so configured.
By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.
Comments
Post a Comment