|
|
|
header
|
|||
|---|---|---|---|
|
#18+
у меня есть функция: function { ... db_query("INSERT INTO guest_tbl (date, name, email, www, mess) VALUES(now(), '$name','$email','$url','$mess')"); header("Location: ".PATH); } пишет следующее: Warning: Cannot modify header information - headers already sent by (output started at c:\home\palych-tour.ru\www\gbook\gbook.php:9) in c:\home\palych-tour.ru\www\db\gb.php on line 52 Что делать, помогите. Фактически мне надо что бы после SQL завпроса меня перекидывало на другую страницу. ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 22.11.2004, 10:39 |
|
||
|
header
|
|||
|---|---|---|---|
|
#18+
Warning: Cannot modify header information - headers already sent by (output started at c:\home\palych-tour.ru\www\gbook\gbook.php:9) in c:\home\palych-tour.ru\www\db\gb.php on line 52 http://www.php.net/manual/ru/function.header.php 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 or empty lines that are output before header() is called. The same problem exists when using a single PHP/HTML file. -- http://jcatki.no-ip.org/c++/bart.jpg ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 22.11.2004, 11:33 |
|
||
|
|

start [/forum/topic.php?fid=23&msg=32793574&tid=1479136]: |
0ms |
get settings: |
5ms |
get forum list: |
8ms |
check forum access: |
2ms |
check topic access: |
2ms |
track hit: |
151ms |
get topic data: |
6ms |
get forum data: |
1ms |
get page messages: |
25ms |
get tp. blocked users: |
1ms |
| others: | 206ms |
| total: | 407ms |

| 0 / 0 |
