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
My Problem With PHP
Moderator: General Moderators
- greyhoundcode
- Forum Regular
- Posts: 613
- Joined: Mon Feb 11, 2008 4:22 am
Re: My Problem With PHP
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.
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.