Re: [PHP] Quite a basic question

2005-03-08 Thread Jochem Maas
Mário Gamito wrote: Hi, This is quite a very basic question, but i think the code following my signature should work. Instead, i get a "Warning: Cannot modify header information - headers already sent by (output started at /home/vhosts/dte/cv/register_action.php:10) in /home/vhosts/dte/cv/regist

RE: [PHP] Quite a basic question[Scanned]

2005-03-08 Thread Michael Egan
Mario, >From the PHP Manual: "Remember that header() must be called before any actual output is sent, either by normal HTML tags, blank lines in a file, or from PHP. It is a very common error to read code with include(), or require(), functions, or another file access function, and have spaces

Re: [PHP] Quite a basic question

2005-03-08 Thread Leif Gregory
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> M>