R: [PHP-DB] opening webpage
| From: | Roberto Sartor | Date: | Mon, 20 Nov 2000 17:04:39 +0000 |
| Subject: | R: [PHP-DB] opening webpage | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-4580@lists.php.net to get a copy of this message | ||
Do a better check to your script: it surely prints somewhere some new line
or white space or another character you don't see...
When you a print any char, headers is always sent (implicitly).
Ciao
Roberto
> -----Messaggio originale-----
> Da: Adv. Systems Design [mailto:asd_2000@yahoo.com]
> Inviato: lunedì 20 novembre 2000 17.58
> A: php-db@lists.php.net
> Oggetto: RE: [PHP-DB] opening webpage
>
>
> Actually, I digress... the header() did not work
> because:
>
> Warning: Cannot add header information - headers
> already sent by (output started at
> templates/header.php:3) in
> /home/httpd/html/lesson/admin/add_lessons.php on line
> 41
>
> Line 41 is the header() call...
>
> Anyone have any other ideas as to how to jump to
> another page programatically from within a
> switch...case setup? All I am trying to do is submit a
> form (on add_lessons.php) and goto a listing on
> lessons.php within the same dir)
>
> thanks
>
> --- "Adv. Systems Design" <asd_2000@yahoo.com> wrote:
> > Thanks, that did the trick...
> >
> > Luis
> >
> > --- o.cook@etoncollege.org.uk wrote:
> > > header("Location:
> > > http://host.domain.tld/directory/page.ext");
> > >
> > > see http://www.php.net/manual/function.header.php
> > >
> > > Ollie
> > >
> > > > -----Original Message-----
> > > > From: Adv. Systems Design
> > > [mailto:asd_2000@yahoo.com]
> > > > Sent: 19 November 2000 17:13
> > > > To: PHP List
> > > > Subject: [PHP-DB] opening webpage
> > > >
> > > >
> > > > Hello all:
> > > >
> > > > I was wondering how one would open (go to)
> > another
> > > web
> > > > page programatically, say as a result of an
> > > if-else
> > > > statement. i.e.
> > > >
> > > > if (x==true) {
> > > > goto http://pagex
> > > > }else{
> > > > goto http://pagey
> > > > }
> > > > Thanx
> > > >
> > > > Luis
> > > >
> > > >
> > __________________________________________________
> > > > Do You Yahoo!?
> > > > Yahoo! Calendar - Get organized for the
> > holidays!
> > > > http://calendar.yahoo.com/
> > > >
> > > > --
> > > > PHP Database Mailing List (http://www.php.net/)
> > > > To unsubscribe, e-mail:
> > > php-db-unsubscribe@lists.php.net
> > > > For additional commands, e-mail:
> > > php-db-help@lists.php.net
> > > > To contact the list administrators, e-mail:
> > > > php-list-admin@lists.php.net
> > > >
> > >
> > > --
> > > PHP Database Mailing List (http://www.php.net/)
> > > To unsubscribe, e-mail:
> > > php-db-unsubscribe@lists.php.net
> > > For additional commands, e-mail:
> > > php-db-help@lists.php.net
> > > To contact the list administrators, e-mail:
> > > php-list-admin@lists.php.net
> > >
> >
> >
> > __________________________________________________
> > Do You Yahoo!?
> > Yahoo! Calendar - Get organized for the holidays!
> > http://calendar.yahoo.com/
> >
> > --
> > PHP Database Mailing List (http://www.php.net/)
> > To unsubscribe, e-mail:
> > php-db-unsubscribe@lists.php.net
> > For additional commands, e-mail:
> > php-db-help@lists.php.net
> > To contact the list administrators, e-mail:
> > php-list-admin@lists.php.net
> >
>
>
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Calendar - Get organized for the holidays!
> http://calendar.yahoo.com/
>
> --
> PHP Database Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-db-unsubscribe@lists.php.net
> For additional commands, e-mail: php-db-help@lists.php.net
> To contact the list administrators, e-mail:
> php-list-admin@lists.php.net
>