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

From: Date: Sat, 25 Jun 2005 11:08:44 +0000
Subject: #33472 [NEW]: header redirection at the middle of PHP+HTML file
Groups: php.gtk.dev 
Request: Send a blank email to php-gtk-dev+get-1412@lists.php.net to get a copy of this message
From: tarun27in at gmail dot com Operating system: Windows Xp PHP version: 4.3.10 PHP Bug Type: PHP-GTK related Bug description: header redirection at the middle of PHP+HTML file Description: ------------ 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 -- Edit bug report at http://bugs.php.net/?id=33472&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=33472&r=trysnapshot4 Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=33472&r=trysnapshot50 Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=33472&r=trysnapshot51 Fixed in CVS: http://bugs.php.net/fix.php?id=33472&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=33472&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=33472&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=33472&r=needscript Try newer version: http://bugs.php.net/fix.php?id=33472&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=33472&r=support Expected behavior: http://bugs.php.net/fix.php?id=33472&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=33472&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=33472&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=33472&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=33472&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=33472&r=dst IIS Stability: http://bugs.php.net/fix.php?id=33472&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=33472&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=33472&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=33472&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=33472&r=mysqlcfg

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