note 37936 deleted from function.header by didou
| From: | didou@php.net | Date: | Tue, 02 Dec 2003 19:33:30 +0000 |
| Subject: | note 37936 deleted from function.header by didou | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-61287@lists.php.net to get a copy of this message | ||
Note Submitter: chris·!·at·!·wildcharacters·!·dot·!·com
----
When using header to redirect you have to have a space colon after the first colon.
This will redirect:
header('Location: http://www.example.com/');
This will not redirect:
header('Location:http://www.example.com/');
This will redirect:
header('Location:http://www.example.com/');
exit;