PHP code corrupts

M

M.D'Souza

I work on a couple of php sites that use PHP to pull the page title and meta
info from a database (all pages are .php). Sometimes when I open a site live
from the server in frontpage 2003 the php code gets corrupted with letters
instead of symols example - <? will turn into alt;? and " will turn into ";
this seems to happen off and on with the same sites that are hosted on
different servers. I checked tools>options>configure editors and it's set for
open as text should this be set to something else? If not what could be
causing this and how do I fix it.
 
C

Chris Leeds, MVP-FrontPage

I've done a bunch of PHP work with FrontPage and haven't had it happen to
me.
I rarely do it live on the server.

one thing you could do is use <script language="php">and </script> instead
of <? and ?>.

--
Chris Leeds,
Microsoft MVP-FrontPage

ContentSeed: great tool for web masters,
a fantastic convenience for site owners.
http://contentseed.com/
 
M

M.D'Souza

Chris thank you for your suggestion, I'm not as experienced with php as you
are can the script language be placed within the title tag and meta info tags?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top