Re: [PHP] problem with "include" directive under XHTML
Uh, guys? Nevermind. To quote someone's .sig: "The truth was out there, but the lies were in my mind." I cleared out a couple of mis-conceptions, and the problem went away. Sorry for the noise. Robert Huff -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] problem with "include" directive under XHTML
I've had this problem. It's because of the that surrounds your XML. Your php configuration probably has short tags enabled. I have had to use php to output this ' ; ?> On Tue, Jun 3, 2008 at 7:25 AM, Robert Huff <[EMAIL PROTECTED]> wrote: > >I'm working on a project that involves converting HTML to > XHTML. Not strictly sure this is a PHP issue, but testing (so far) > has eliminated other possibilities. > >Can someone offer suggestions why, on the same server (Apache > 2.2.8), this works: > > > > > title="ss_default"> >Testing html > > > > > > include 'letters/Disclaimer'; > > > > mailto:[EMAIL PROTECTED]">Robert Huff > > > Last modified: Mon Jun 2 16:56:19 EDT 2008 > > > > > >but this doesn't: > > > "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";> > http://www.w3.org/1999/xhtml";> > >Testing xhtml > title="ss_default" /> >href="images/favicon.png" /> >href="images/favicon.png" /> > > > > > include 'letters/Disclaimer'; > > > mailto:[EMAIL PROTECTED]">Robert Huff > > > Last modified: Mon Jun 2 17:37:52 EDT 2008 > > > > > > >Rspectfully, > > >Robert Huff > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > >
Re: [PHP] problem with "include" directive under XHTML
What is the error message you are getting? On Tue, Jun 3, 2008 at 11:37 AM, Robert Huff <[EMAIL PROTECTED]> wrote: > Robbert van Andel writes: > > > I've had this problem. It's because of the that > > surrounds your XML. Your php configuration probably has short > > tags enabled. > > Negative, Prior research found this problem, and the short > tags setting, which was promptly set to "OFF", > > >Robert Huff > > >
Re: [PHP] problem with "include" directive under XHTML
Robbert van Andel writes: > I've had this problem. It's because of the that > surrounds your XML. Your php configuration probably has short > tags enabled. Negative, Prior research found this problem, and the short tags setting, which was promptly set to "OFF", Robert Huff -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] problem with "include" directive under XHTML
I'm working on a project that involves converting HTML to XHTML. Not strictly sure this is a PHP issue, but testing (so far) has eliminated other possibilities. Can someone offer suggestions why, on the same server (Apache 2.2.8), this works: Testing html include 'letters/Disclaimer'; mailto:[EMAIL PROTECTED]">Robert Huff Last modified: Mon Jun 2 16:56:19 EDT 2008 but this doesn't: http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";> http://www.w3.org/1999/xhtml";> Testing xhtml include 'letters/Disclaimer'; mailto:[EMAIL PROTECTED]">Robert Huff Last modified: Mon Jun 2 17:37:52 EDT 2008 Rspectfully, Robert Huff -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php