--- Yasuo Ohgaki <[EMAIL PROTECTED]> wrote: > From: "Yasuo Ohgaki" <[EMAIL PROTECTED]> > To: "Jayme Derr" <[EMAIL PROTECTED]> > Subject: Re: [PHP-DEV] Header Question using WML > Date: Fri, 9 Mar 2001 10:22:51 +0900 > > Hello Jaymem > > You probably get the same message, buy anyway, > This list(or new group) is not for asking question. > > try [EMAIL PROTECTED] > > Regards, > > -- > Yasuo Ohgaki > > ----- Original Message ----- > From: "Jayme Derr" <[EMAIL PROTECTED]> > Newsgroups: php.dev > Sent: Friday, March 09, 2001 8:39 AM > Subject: [PHP-DEV] Header Question using WML > > > > I am able to pull up my php3 file on my phone > > simulator successfully. However, when I try to > link > > to the next php3 file I receive this error "HTML > or > > Plain text. Can't compile this..." This isn't > very > > descriptive, so when I view the source, it gives > me > > this error: > > Content-Type: text/html. Content follows: > > <br> > > <b>Warning</b>: POST Error: content-type missing > in > > <b>/test/wmlsite/firstpage.php3</b> on line > > <b>0</b><br> > > <br> > > <b>Warning</b>: Cannot add more header > information - > > the header was already sen > > t (header information may be added only before any > > output is generated from the > > script - check for text or whitespace outside PHP > > tags, or calls to functions th > > at output text) in > > <b>/test/wmlsite/secondpage.php3</b> on line > > <b>1</b><br> > > > > Each of my php files start like this: > > <?php header('content-type: text/vnd.wap.wml'); > > printf("\n\n\n<?xml version='1.0'?>\n"); > > printf("<!DOCTYPE wml PUBLIC '-//PHONE.COM//DTD > WML > > 1.1//EN' > 'http://www.phone.com/dtd/wml11.dtd'>\n");?> > > <wml> > > Here's the kicker. When I pull up the > > secondpage.php3, it actually displays with no > problem. > > It's only when I link them together. It's so > > bizarre. I can display each php file individually > > just not by linking. It's as if the output stream > of > > the firstpage is not getting closed. Has anyone > ever > > run into this problem or has any idea on how to > fix > > it? > > > > Thanks, > > Jayme Derr > > > > __________________________________________________ > > Do You Yahoo!? > > Get email at your own domain with Yahoo! Mail. > > http://personal.mail.yahoo.com/ > > > > -- > > PHP Development Mailing List <http://www.php.net/> > > To unsubscribe, e-mail: > [EMAIL PROTECTED] > > For additional commands, e-mail: > [EMAIL PROTECTED] > > To contact the list administrators, e-mail: > [EMAIL PROTECTED] > > __________________________________________________ Do You Yahoo!? Get email at your own domain with Yahoo! Mail. http://personal.mail.yahoo.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]