Closed Bug 355188 Opened 19 years ago Closed 19 years ago

Putting stuff before DOCTYPE

Categories

(SeaMonkey :: Composer, defect)

x86
Windows 2000
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: owen.watson, Unassigned)

Details

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8.0.7) Gecko/20060909 Firefox/1.5.0.7 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8.0.6) Gecko/20060729 SeaMonkey/1.0.4 Any material put before DOCTYPE seems to be deleted; however, cookies often need to be allocated before DOCTYPE is called. Reproducible: Always Steps to Reproduce: 1.Put material eg <?php session_start(); ?> before <!DOCTYPE in file 2.Open with SeaMonkey 3.Bingo: it's gone in Source View Expected Results: Left the <?php session_start(); ?> in its place
I think NVU (standalone composer) already supports <?php ... ?> tags. Maybe SeaMonkey Composer will do so one day, too. *** This bug has been marked as a duplicate of 59985 ***
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago
Resolution: --- → DUPLICATE
bad status, reopening
Status: RESOLVED → UNCONFIRMED
Resolution: DUPLICATE → ---
(In reply to comment #1) > I think NVU (standalone composer) already supports <?php ... ?> tags. Maybe > SeaMonkey Composer will do so one day, too. > > *** This bug has been marked as a duplicate of 59985 *** No, this is not a dup. What the reporter asks for is just impossible in the world of Gecko, where the document goes through a parser. It is possible to handle the xml-stylesheet PI because it's directly related to a processing model and the storage of the stylesheet is done through the CSS Object Model. BUT, since the PI lives outside of the root element of the document, there is no way it can be stored in the DOM. For a php PI, we have no processing model, no storage and still no way to make it live in the DOM. It's then impossible.
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago19 years ago
Resolution: --- → WONTFIX
Ah ok alright...
So there is no way to issue cookies thru PHP in the existing model?
You need to log in before you can comment on or make changes to this bug.