Fwd: Re: [PHP-DEV] Header Question using WML

From: Date: Fri, 09 Mar 2001 15:09:12 +0000
Subject: Fwd: Re: [PHP-DEV] Header Question using WML
Groups: php.general 
Request: Send a blank email to php-general+get-43154@lists.php.net to get a copy of this message
--- Yasuo Ohgaki <yohgaki@hotmail.com> wrote: > From: "Yasuo Ohgaki" <yohgaki@hotmail.com> > To: "Jayme Derr" <jaymederr@yahoo.com> > 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 php-general@lists.php.net. > > Regards, > > -- > Yasuo Ohgaki > > ----- Original Message ----- > From: "Jayme Derr" <jaymederr@yahoo.com> > 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: > php-dev-unsubscribe@lists.php.net > > For additional commands, e-mail: > php-dev-help@lists.php.net > > To contact the list administrators, e-mail: > php-list-admin@lists.php.net > > __________________________________________________ Do You Yahoo!? Get email at your own domain with Yahoo! Mail. http://personal.mail.yahoo.com/

« previous php.general (#43154) next »