Page 1 of 1

Download window appearing instead of running PHP page

Posted: Mon Jun 13, 2005 3:23 am
by gp_330
Hi guys,

I am sure that this is a real newbie question, but I am new to PHP, so I guess it's okay. I have a PHP page located on a client's remote server and for some reason when I visit the page my browser tries to download the page instead of opening and running it.

Now I know that the page was working perfectly on my local server, so I think that the problem is probably with the client's PHP server setup, but I just wanted to check. Is there a special header that I must put on the page to get it to "read" the page as a PHP page? You can go and see what I am talking about at the following URL:

http://www.atollmedica.co.za/contactus.php

Thanks for the help
GianPiero

Posted: Mon Jun 13, 2005 3:25 am
by Revan
No, there is no header.

Posted: Mon Jun 13, 2005 3:27 am
by malcolmboston
cant be done in the method your doing it.

if its possible then look at cURL ive never used it but i understand it is very powerful with this type of thing.

Posted: Mon Jun 13, 2005 3:58 am
by shiznatix
what it really sounds like is php isn't installed on the other server. make sure that it is installed because it certainly sounds like it isn't