Download window appearing instead of running PHP page

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
gp_330
Forum Newbie
Posts: 1
Joined: Fri May 20, 2005 6:10 am

Download window appearing instead of running PHP page

Post 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
Revan
Forum Commoner
Posts: 83
Joined: Fri Jul 02, 2004 12:37 am
Location: New Mexico, USA
Contact:

Post by Revan »

No, there is no header.
malcolmboston
DevNet Resident
Posts: 1826
Joined: Tue Nov 18, 2003 1:09 pm
Location: Middlesbrough, UK

Post 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.
User avatar
shiznatix
DevNet Master
Posts: 2745
Joined: Tue Dec 28, 2004 5:57 pm
Location: Tallinn, Estonia
Contact:

Post 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
Post Reply