[FX.php List] Bad apostrophe character confounds FMP

Gjermund Gusland Thorsen ggt667 at gmail.com
Mon Dec 10 15:21:27 MST 2007


>Ah, easy peasy. The DOCTYPE declaration has to be the first line in your
generated output -

That is not true, please go view source on this thing:
http://www.file-making.com/samples/add.php

ggt

2007/12/10, Kevin Futter <kfutter at sbc.melb.catholic.edu.au>:
> On 11/12/07 8:57 AM, "Jonathan Schwartz" <jschwartz at exit445.com> wrote:
>
> > Kevin,
> >
> > Thanks.
> >
> > Per an earlier post, this turned out to be the culprit. Thanks Troy.
> >
> > Now about that standard...where does php fit into this?
> >
> > The "other" standard says that ob_start() and session_start() have to
> > be the very first lines in the code.
> >
> > How do we do both?
> >
> > Jonathan
>
> Ah, easy peasy. The DOCTYPE declaration has to be the first line in your
> generated output - in other words, what the browser sees. The session code
> is only for the PHP interpreter on the server, and is never passed to the
> browser.
>
> As a matter of process, I try to keep all my PHP data wrangling and session
> handling stuff as the first thing in the file, above where the HTML starts.
> It's easier to find and deal with that way, and in some cases won't work
> elsewhere anyway. But, I make sure the first line in my generated HTML code
> is the DOCTYPE declaration.
>
> Hope that makes sense.
>
> --
> Kevin Futter
> Webmaster, St. Bernard's College
> http://www.sbc.melb.catholic.edu.au/
>
>
>
> #####################################################################################
> This e-mail message has been scanned for Viruses and Content and cleared
> by MailMarshal
> #####################################################################################
>
> This e-mail and any attachments may be confidential. You must not disclose or use the information in this e-mail if you are not the intended recipient. If you have received this e-mail in error, please notify us immediately and delete the e-mail and all copies. The College does not guarantee that this e-mail is virus or error free.  The attached files are provided and may only be used on the basis that the user assumes all responsibility for any loss, damage or consequence resulting directly or indirectly from the use of the attached files, whether caused by the negligence of the sender or not. The content and opinions in this e-mail are not necessarily those of the College.
>
> _______________________________________________
> FX.php_List mailing list
> FX.php_List at mail.iviking.org
> http://www.iviking.org/mailman/listinfo/fx.php_list
>


More information about the FX.php_List mailing list