Click to See Complete Forum and Search --> : Only HTML showing in my PHP files...
Mindman
11-10-2005, 07:49 PM
I just installed a program called NerServer that installs Apache and PHP on your local machine with a few clicks for local testing and such. It's worked for me in the past correctly, but now when I view my PHP files, all I see on the page is the HTML in it, and none of the PHP is parsed, it's like it's just skipped. Any ideas on configurations to Apache or PHP that I need to make?
NogDog
11-10-2005, 08:59 PM
Is the PHP code in the browser page source (do a "view source")? If so, then the page is not getting sent through the PHP parser. Make sure you're calling the page via the localhost, something like "http://localhost/directory/page.php". If the PHP code is not showing up in the page source, then it must be getting parsed; in which case maybe it's not doing what you intend it to do?