Page 1 of 1

Weird download thing

PostPosted: Thu Oct 19, 06 6:40 am
by clyzm
When I go to www.dxalpha.com as a whole, Firefox gives me a popup message to "download something". I don't know what it is, but it won't get me to the main page (I have to go to www.dxalpha.com/posting.php then on the home page).

Here is a pic of it:

Image

PostPosted: Fri Oct 20, 06 9:24 pm
by clyzm
I guess it went away...

PostPosted: Fri Oct 20, 06 9:29 pm
by Dae
It happens sometimes with firefox when the connection lags out.

PostPosted: Mon Nov 13, 06 4:49 pm
by Alistair
Or when Apache hasn't got php as a registered module.

PostPosted: Mon Nov 13, 06 7:36 pm
by Dae
Konami wrote:Or when Apache hasn't got php as a registered module.

No, not in this case. If you saved this posting.php to your hard drive and opened it, you could see that it's just a part of HTML code without any PHP.

PostPosted: Tue Nov 14, 06 9:02 am
by Alistair
Yeah but the screenshot shows that firefox recognises it as x-httpd-php ;o

PostPosted: Tue Nov 14, 06 3:45 pm
by Dae
Konami wrote:Yeah but the screenshot shows that firefox recognises it as x-httpd-php ;o

It doesn't know that it's just a piece of html code. It judges the file type on it's extension.

PostPosted: Tue Nov 14, 06 4:47 pm
by Alistair
Yeah its the servers fault not the client. The apache server doesn't have PHP module registered, so therefore it offers to user to download it. It happened when I was running a script called phpsysinfo on my server without php installed (apache2-mod-php4/5).

PostPosted: Tue Nov 14, 06 5:31 pm
by Dae
I meant Firefox.

~[A]Daedalus~ wrote:
Konami wrote:Yeah but the screenshot shows that firefox recognises it as x-httpd-php ;o

It doesn't know that it's just a piece of html code. It judges the file type on it's extension.


And if PHP wasn't installed, the file would contain php code of our phpBBs posting.php.