FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » Forum displays PHP code, not website
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: Forum displays PHP code, not website [message #177380 is a reply to message #177379] Thu, 22 March 2012 21:25 Go to previous messageGo to previous message
The Natural Philosoph is currently offline  The Natural Philosoph
Messages: 993
Registered: September 2010
Karma:
Senior Member
M. Strobel wrote:
> Am 22.03.2012 20:38, schrieb Thomas 'PointedEars' Lahn:
>> P E Schoen wrote:
>>
>>> "Dave Pyles" wrote:
>>>> P E Schoen wrote:
>>>> > Last night I wanted to check out a forum http://www.mytractorforum.com/,
>>>> > but instead of showing the forum, it displays the PHP code. I thought it
>>>> > was a temporary glitch, but it's going on almost 24 hours now. I don't
>>>> > really know how to contact them.
>> Try WHOIS.
>>
>>>> > But I'm wondering what may have happened. Hacked?
>>>> > Thanks,
>>>> Seems to be working correctly now.
>>> I tried again, and still saw the problem, but it was reloading the page
>>> from the cache. A refresh cleared it up. I still wonder what could have
>>> caused the source to be displayed. Would this happen if the PHP
>>> application on the server was missing or defective?
>> Yes.
>>
>>
>> PointedEars
>
> Hmm - shure? He said "PHP application on the server was missing or defective?".
>
> Missing not, the code was displayed.

irrelevant.

The application is the web server. That wasn't missing.
The web server didn't give an error. Ergo whether the php worked or not
or was missing was never an issue.

The issue was that the web server considered the .php file to be a
simple text page to send.

Misconfigured web server.

Defective? Only when the application printed out
> PHP code - well, unlikely, but not impossible.
>
> /Str.


--
To people who know nothing, anything is possible.
To people who know too much, it is a sad fact
that they know how little is really possible -
and how hard it is to achieve it.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: openssl_pkcs7_sign with key file
Next Topic: PHP ncurses
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Sun Nov 24 11:46:53 GMT 2024

Total time taken to generate the page: 0.05112 seconds