Re: #33472 [Com]: header redirection at the middle of PHP+HTML file

From: Date: Tue, 05 Jul 2005 10:45:36 +0000
Subject: Re: #33472 [Com]: header redirection at the middle of PHP+HTML file
References: 1  Groups: php.gtk.dev 
Request: Send a blank email to php-gtk-dev+get-1417@lists.php.net to get a copy of this message
timo dot schmid at gmail dot com wrote: > ID: 33472 > Comment by: timo dot schmid at gmail dot com > Reported By: tarun27in at gmail dot com > Status: Open > Bug Type: PHP-GTK related > Operating System: Windows Xp > PHP Version: 4.3.10 > New Comment: > > Though I m not a php guru but still i have been obsessed with a big > with header location which often troubles me a lot , I often use html > tags in php file as i use dreamweaver as html editor and whenever i > want to redirect to some remote url in the middle of the page it always > prompt me of a warning that headers already sent , i have researched a > lot but didn't find any satisfactory solutions. Though i was able to > redirect via javascript href tag but i think thats quite a bug as I > also designed sites on ASP and response.redirect works anywhere in a > file. > > Just want to take in to your considerations. > > thanks and regards > TARUN SHARMA Already tryed with output_buffering = On in your php.ini ? -- Alessandro Sappia Le informazioni contenute nella presente comunicazione possono essere riservate e sono, comunque, destinate esclusivamente alle persone o alla Societa' sopraindicati. La diffusione del documento trasmesso da parte di qualsiasi soggetto diverso dal destinatario e' proibita, sia ai sensi dell'art. 616 c.p. , che ai sensi del D.Lgs. n. 196/2003. Se avete ricevuto questo messaggio per errore, vi preghiamo di distruggerlo e di informarmi immediatamente inviando un messaggio all'indirizzo e-mail a.sappia@ngi.it. GPG Public Key http://keyserver.linux.it/

« previous php.gtk.dev (#1417) next »