Re: Forum displays PHP code, not website [message #177396 is a reply to message #177388] |
Sat, 24 March 2012 13:07 |
Jerry Stuckle
Messages: 2598 Registered: September 2010
Karma:
|
Senior Member |
|
|
On 3/23/2012 9:07 PM, P E Schoen wrote:
> "M. Strobel" wrote in message news:9t3paiFdoeU1(at)mid(dot)uni-berlin(dot)de...
>
> Am 23.03.2012 05:37, schrieb Gordon Burditt:
>>
>>> If PHP itself is missing, not turned on, or incorrectly configured,
>>> you can get that result. I take it here that "PHP application"
>>> refers to PHP *as* an application, not an application that *runs*
>>> under PHP.
>>
>> You say *PHP is* the application, the philosopher said the web server
>> is the application.
>
>> I find both statements technically speaking true, but when the OP
>> asked if the
>> problem was the application he was talking quite clearly about the
>> forum software,
>> i.e. the *PHP script*.
>
> Actually, I meant the PHP module, which to me is an application, rather
> than a script. And the problem I saw was on someone else's forum, and I
> did not really mean the forum software was the problem. But I'm glad I
> asked, and I can see that I need to learn more about this stuff before
> doing anything really important. What I have now is mostly as a learning
> exercise.
>
>> Agreed that the main executable is the web server, which calls the PHP
>> module. But
>> when you say "I write my application in python/perl/php" you are
>> writing a script,
>> not an interpreter!
>
> I think "applications" should be anything that has been compiled
> separately and resides on the server or local machine as an executable.
> The OS would also be an application, but I would refer to it more as an
> operating system. A user shell that accesses the OS would be an
> application, which could be as a terminal (like MSDOS command shell), or
> a GUI.
>
> Thanks for the detailed information and advice. I think I understand
> most of it. I guess I need to know the extent of the risks involved. As
> long as the site is not in danger of being hacked, I'm not too worried.
> But maybe I just don't know that many ways that a malicious attack could
> be made.
>
> Paul
Applications don't need to be compiled. Scripts written in languages
such as BASH, Perl and PHP can also be executables under Linux.
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex(at)attglobal(dot)net
==================
|
|
|