My Problem With PHP

Ye' old general discussion board. Basically, for everything that isn't covered elsewhere. Come here to shoot the breeze, shoot your mouth off, or whatever suits your fancy.
This forum is not for asking programming related questions.

Moderator: General Moderators

Post Reply
fire
Forum Newbie
Posts: 1
Joined: Sun Nov 07, 2010 9:10 pm
Contact:

My Problem With PHP

Post by fire »

Hi,

I'm just new in php programming. I set up my apache server and php, my problem is every time i load my php code in IE it always attemp to download the file. i already tried putting this "AddType application/x-httpd-php .php" in httpd.conf, but i still have that problem. i need help regarding this problem.

thanks in advance
User avatar
greyhoundcode
Forum Regular
Posts: 613
Joined: Mon Feb 11, 2008 4:22 am

Re: My Problem With PHP

Post by greyhoundcode »

Can you tell us more about your setup? Are you using Windows+XAMPP for example, or EasyPHP? When you "load your code in IE" how are you doing it?

Might seem a daft question but you would get a different result depending on whether you are using something like file:///home/testarea/public_html/index.php (just a guess but it sounds to me like this is what you are doing, of course the actual URI would be different) or localhost/index.php.
Post Reply