[Bug 12936] Nautilus opening PHP file

bugzilla-daemon at bugzilla.ubuntu.com bugzilla-daemon at bugzilla.ubuntu.com
Tue Jul 26 03:04:36 UTC 2005


Please do not reply to this email.  You can add comments at
http://bugzilla.ubuntu.com/show_bug.cgi?id=12936
Ubuntu | nautilus


adconrad at ubuntu.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |adconrad at ubuntu.com




------- Additional Comments From adconrad at ubuntu.com  2005-07-26 04:04 UTC -------
(In reply to comment #0)
> Since it does not begin with a <? tag nautilus flips out that it
> is trying to open a .php file that does not contain php.

Is this on warty, hoary, or breezy?  On a hoary system, .php files appear to
behave identically for me, regardless of whether I have a <? (or <?php) in them
or not.  That is, if they're not executable, they open directly in gedit, if
they are executable, I'm given the option to run them or open them.  In neither
case does the file's magic seem to matter (which is good, since PHP files can
begin with any random string, as the <? is only used to escape code, not the
entire file).


-- 
Configure bugmail: http://bugzilla.ubuntu.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.




More information about the desktop-bugs mailing list