test.php must be: <html> <head> <title>Today's Date</title> </head> <body> <p>Today's Date (according to this Web server) is <?php echo date("l, F dS Y."); ?></p> </body> </html>
"ascll" <[EMAIL PROTECTED]> schrieb im Newsbeitrag news:[EMAIL PROTECTED] > Problem solved. Thanks. > > > "Ascll" <[EMAIL PROTECTED]> wrote in message > news:[EMAIL PROTECTED] > > Greetings, > > > > I just installed the PHP Version 4.3.3 on my Windows 2000 Server (SP4) > > machine. As the starting point, I have tried to run the index.php > > (configured using IIS 4) without error and I get all those info regarding > my > > php. > > > > index.php > > ========= > > <html> > > <head> > > <title>Today's Date</title> > > </head> > > <body> > > <?php phpinfo();?> > > </body> > > </html> > > > > > > However, when I try to run another .php file, say test.php, I get these > > warning messages below: - > > > > test.php > > ======== > > <html> > > <head> > > <title>Today's Date</title> > > </head> > > <body> > > <p>Today's Date (according to this Web server) is > > <?php > > echo( date('l, F dS Y.') ); > > ?></p> > > </body> > > </html> > > > > > > Warning messages > > ================ > > > > > > Warning: Unknown(E:\Nelson\RaceResult\test.php): failed to open stream: > > Permission denied in Unknown on line 0 > > > > Warning: (null)(): Failed opening 'E:\Nelson\RaceResult\test.php' for > > inclusion (include_path='.;c:\php4\pear') in Unknown on line 0 > > > > > > Please consult. Thanks in advance. > > > > > > ascll > > [EMAIL PROTECTED] -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php