lariat1997 Posted March 15, 2007 Share Posted March 15, 2007 Hey all, Coming to the funner side of Flash and will be starting to implement PHP. I have installed PHP and Apache. I have put some simple PHP code in Dreamweaver, but when I preview it, I only see the source displayed...not what I want to see. Below is the code that is on my .php file. <?php echo date("l, F, js, Y"); ?> Can anyone tell me how to fix this? Thank you. Quote Link to comment Share on other sites More sharing options...
interpim Posted March 15, 2007 Share Posted March 15, 2007 sounds to me that php isn't installed correctly. check with <?php phpinfo(); ?> if that file shows nothing, then php isn't working. Quote Link to comment Share on other sites More sharing options...
lariat1997 Posted March 15, 2007 Author Share Posted March 15, 2007 You're right. At first I tried to install PHP and Apache separately. But instead I installed WAMP and now my PHP file works. Thanks. Quote Link to comment Share on other sites More sharing options...
mmarif4u Posted March 15, 2007 Share Posted March 15, 2007 XAMPP works fine than WAMP. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.