Code: Select all
,Code: Select all
and [syntax="..."] tags where appropriate when posting code. Your post has been edited to reflect how we'd like it posted. Please read: [url=http://forums.devnetwork.net/viewtopic.php?t=21171]Posting Code in the Forums[/url] to learn how to do it too.[/color]
Hi
OS : Linux ( Xandros -> Debian )
Webserver : Apache/1.3.33 (Debian GNU/Linux)
Web-browser : Firefox 1.5.0.5
A simple PHP script doesn't work !!
[b]When invoked in firefox browser:[/b] http://localhost/php1.php
[b]its didn't execute but just provides two options ( radio buttons): "[color=violet]Open with [/color]" and [color=violet]"Save To Disk"[/color][/b]
Following is the php1.php scriptCode: Select all
<?php
echo "This is PHP script in Apache/Firefox !";
?>-----------------------------------------
Code: Select all
<html>
<head>
<title>A simple PHP script </title>
</head>
<body>
<b>
<?php
echo "This is PHP script in Apache/Firefox !";
?>
</b>
</body>
</html>Again it didn't execute but provids those 2 options "Open with " and "Save To Disk" !!!!
univken
---------------------------------------
Registered Linux User = #450073
feyd | Please use
Code: Select all
,Code: Select all
and [syntax="..."] tags where appropriate when posting code. Your post has been edited to reflect how we'd like it posted. Please read: [url=http://forums.devnetwork.net/viewtopic.php?t=21171]Posting Code in the Forums[/url] to learn how to do it too.[/color]