Page 1 of 1

My Problem With PHP

Posted: Sun Nov 07, 2010 9:25 pm
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

Re: My Problem With PHP

Posted: Mon Nov 08, 2010 1:10 pm
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.