Hi Web Girl,
The problem, if I understand it correctly, is that:
1) you have a file with a suffix of
b .php
2) This file contains both
b PHP
and
b HTML
tags.
3) You want to open this file locally -- i.e. not through a webserver (local or remote)
4) When you open the file from Safari, Safari does
b not
process the
b HTML
tags.
I can understand that this is frustrating, and based on multiple reports in this thread, is a
b different
behaviour than earlier versions of OS X exhibited. But there are at least two workarounds:
1) Don't use
b Safari.app
when you have this requirement.
For example, on my PBG4/OS X 10.4.2, five other browers
b will
give you the desired behaviour -- i.e. Netscape 7.2, Mozilla 1.7.12, Firefox1.0,7 and 1.5b1, iCab 3.0b352 and Camino 1.0a1
b all
processed
b HTML
tags when opening a local file with an extension of
b .PHP
2) Or enable websharing and then open the
b .PHP
files through your local webserver -- i.e.
http://localhost/testfile.php
Not only will Safari (or any other browser) process the
b HTML
tags in this case, but if you have
b PHP
enabled, then the
b PHP
tags will be processed as well.
best of luck,
...ben