|
Posted by Polecat on 06/06/05 22:09
Here is what is in my test page that gives me a blank browser screen:
<html>
<head>
<title>PHP Test</title>
</head>
<body>
<?php echo '<p>Hello World</p>'; ?>
<?php phpinfo(); ?>
<?php echo '<p>Good Bye World</p>'; ?>
</body>
</html>
This should generate output, right?
OK,
I did what you suggested, I point my browser to:
C:\Program Files\Apache Group\Apache2\htdocs\test.php
and in my browser window I get:
<?php
phpinfo();
?>
=========================================================
"ZeldorBlat" <zeldorblat@gmail.com> wrote in message
news:1118083508.743324.42590@o13g2000cwo.googlegroups.com...
> How do you know that PHP isn't working? Create a page, say, test.php,
> as follows:
>
> <?php
> phpinfo();
> ?>
>
> See if you can open that in your browser. If you can see all the
> output, then PHP is working. Furthermore, it will give you a whole
> bunch of info about your configuration, including where it's getting
> php.ini from...
>
Navigation:
[Reply to this message]
|