[email protected] wrote on 10/8/2014 8:30 AM:
On Monday, May 20, 2013 9:29:16 AM UTC-7, Ed Mullen wrote:
[email protected] wrote:
On Sunday, 14 March 2010 20:11:27 UTC, MendoBob wrote:
Hi, I have run into a problem and would greatly appreciate the help of
the SeaMonkey group mind.
I am designing a new site where I would like to use an HTML document
with a .php extent type that the owner can edit using SeaMonkey
Composer. The document uses PHP statements on a PHP server.
When the document is saved by Composer, it appears to delete the PHP
statements. For example
Before Save:
<html><head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-
Type">
<title>PHP Include Test</title></head><body>PHP Include Test<br>
<?php include("header.php"); ?>
</body></html>
After Saving as PHP_Include_Test.php
<html><head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-
Type">
<title>PHP Include Test</title>
</head><body>PHP Include Test<br>
<br>
</body></html>
Is there a work around for this using SeaMonkey composer? The users
like using SeaMonkey as a WYSISYG editor. I have used the same
technique with SeaMonkey using ASP statements and it seems to work
fine, on an ASP server.
Thank you very much,
- Bob
Hi Bob,
I've just experienced the same issue. Did you get any solutions?
thanks
Helen
Don't edit the file in Composer, use Notepad or other plain-text editor.
--
Ed Mullen
http://edmullen.net/
DUMBWAITER: One who asks if the kids would care to order dessert.
That's not really a solution.
Just because you (or "the users") like Composer doesn't mean it's a
valid tool for what you're trying to do. It isn't. Sorry you didn't
like my answer but it is the answer: Learn PHP, create/edit your pages
in a plain-text editor and your problems will be over.
I know of no WYSIWYG editor that will "create" valid PHP code for you.
I don't know of any WYSIWYG editor that will create HTML and CSS code
(other than ridiculously simple examples) that will pass the validators:
<http://validator.w3.org/>
<http://jigsaw.w3.org/css-validator/>
Sorry, people have been chasing this elusive Chimera since the advent of
the Web to no avail. There is no substitute for actually understanding
and being able to write valid HTML and CSS.
"That's not really a solution" indicates that you don't understand the
problem.
Sorry, don't mean to be harsh but the truth sometimes is.
--
Ed Mullen
http://edmullen.net/
Alcohol and Calculus don't mix. Never drink and derive.
_______________________________________________
support-seamonkey mailing list
[email protected]
https://lists.mozilla.org/listinfo/support-seamonkey