Reply to Re: [PHP] Quite a basic question

Your name:

Reply:


Posted by Leif Gregory on 03/08/05 17:20

Hello Mário,

Tuesday, March 8, 2005, 8:18:34 AM, you wrote:
M> How can i solve this ?
M> Any help would be apreciated.

Because you're outputting javascript to the browser before doing the
redirection. You can't output *anything* to the browser before a
redirect.


M> echo"
M> <script language=\"JavaScript\">
M> window.open (\"http://www.google.com\", \"mywindow\", \"status=1,
M> toolbar=0, resizable=0,
M> width=200, height=200\");
M> </script>";


You output the above, then doing the below won't work.


M> header("Location: http://www.dte.ua.pt/cv/");




--
Leif (TB lists moderator and fellow end user).

Using The Bat! 3.0.2.3 Rush under Windows XP 5.1
Build 2600 Service Pack 2 on a Pentium 4 2GHz with 512MB

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация