[PHP] problem with "include" directive under XHTML

2008-06-03 Thread Robert Huff

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



Re: [PHP] problem with "include" directive under XHTML

2008-06-03 Thread Robert Huff
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



Re: [PHP] problem with "include" directive under XHTML

2008-06-04 Thread Robert Huff

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