RE: [PHP] konquerer and php
| From: | Jason Murray | Date: | Fri, 24 Aug 2001 00:28:40 +0000 |
| Subject: | RE: [PHP] konquerer and php | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-64194@lists.php.net to get a copy of this message | ||
> I have a database browser that I made with php and mysql. When I use it in
> Netscape it behaves normally. However when I view it using Konquerer, all
> kinds of php code shows up on the screen when I execute a php page. I
> thought that Konquerer might not be recognizing the <? and ?> start and
end
> tags so I tried <script language="php"> and </script>. However if I use
> these nothing at all shows up on the screen. Can someone tell me what the
> problem is?
PHP files are parsed by the web server, not the web browser.
You can't load a PHP file directly (ie, file:///) into Konqueror, nor
any other browser. If you do, what you describe above will happen - you
will see the source code.
Jason