Whenever I try to load PHP files through IE using EasyPHP the only thing that shows up in IE is the code from the file.
For example, I have a file hosted locally called index.php with only:
<?php
phpinfo();
?>
and that is exactly what shows up when I load it in my browser. So far I've made sure that I didn't save the file as a text file and tried opening the file with IE using 'Choose Program'.
I believe the error is related to my computer not EasyPHP. Could somebody please help?
I should probaly note that I'm using Windows 2000 on a old laptop.
Make sure you also configure you server (Apache is your best bet) to interpret PHP files. Having your server send the source code of your PHP files to clients could be disastrous.
>I suck at this game, can you give me some pointers?
EasyPHP includes a webserver! You are opening the file by just double-clicking it, right? Bad idea! Just go to http://localhost and your file will be somewhere around there... Just don't double click it, you have to call it via the server, http://localhost
Bookmarks