I am running WinXP home and I have Apache as my server, with PHP and MySQL. I am trying to run some simple test scripts on my computer using localhost but it does not work. So before I pulled my hair out, I uploaded them to my online hosting server and they worked fine.
Here is a link to the very simple script I am trying to run, which works fine:
www.sovereignwebdesign.com/php1.php
once you run the script, you will see that it is extremely simple. I have however built the whole web page using php (ie: print ("<html>"); etc.) when you run it from that link, you see the numbers you entered and the value returned, but when I run the same script from localhost, it does not show the values entered or the value returned, but everything else (the rest of the text) shows up.
I also had a problem running a simple newsletter submission form from my localhost, but samething, no luck, but it works perfectly from the web server.
i am guessing that it is something to do with my php.ini file, but I am not sure what to change.
Any insight?
Thanks
Rob