wmabear Posted May 25, 2004 Posted May 25, 2004 I know this is probably just a mistake on my part but I have SSI's working fine using php file's or includes. I am going through some of the tutoriols on PHP and one of them is the current time test page. What I am getting back is the whole body of the page including the switch to PHP and all. <p>This page was created at <b> <?php echo date("h:i:s a", time()); ?> </b> on the computer running PHP.</p> The page is located at http://www.giftdealsgalore.com/timetest.php It doesn't seem to be running through the app server or is there just something I am missing. Thanks in advance Mike Quote
LisaJill Posted May 25, 2004 Posted May 25, 2004 Moved for organization. I don't know why this would be happening since it ends in php and I'm not good at this stuff. Sorry I can't help. =/ Quote
wmabear Posted May 25, 2004 Author Posted May 25, 2004 Thanks for taking a look. At this point it has me too. And when you look at it in veiw source it looks even more funny that may be a PHP thing. As many pages as I plan on having, database generated pages is the only way to go. I hate to think of having to manage it any other way. Thanks for the look though Mike Quote
TCH-Thomas Posted May 25, 2004 Posted May 25, 2004 Im no php guy either but i found this at php.net, maybe it will help: ><?php // Prints something like: Wednesday echo date("l"); // Prints something like: Wednesday 15th of January 2003 05:51:38 AM echo date("l dS of F Y h:i:s A"); // Prints: July 1, 2000 is on a Saturday echo "July 1, 2000 is on a " . date("l", mktime(0, 0, 0, 7, 1, 2000)); ?> Quote
wmabear Posted May 25, 2004 Author Posted May 25, 2004 Thanks All I got it and it was my mistake. And you all helped me to figure it out. What I had done is to added the code to the design view and not to the code view so it was my fault and I feel stupid. It must be time to go to bed. thanks for the help Mike Quote
wmabear Posted May 25, 2004 Author Posted May 25, 2004 Thanks All I got it and it was my mistake. And you all helped me to figure it out. What I had done is to added the code to the design view and not to the code view so it was my fault and I feel stupid. It must be time to go to bed. thanks for the help Mike Quote
LisaJill Posted May 25, 2004 Posted May 25, 2004 Ah, dreamweaver? I did that a few times when I was using it. =) Quote
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.