Hi,
can anybody tell me what does the '\r\n' mean? for example:
Header("Location: http://www.phpbuilder.com\r\n");
any impact if i add/remove the '\r\n' in the header?
Thanks Louis
It's the enter character, pretty much the same as \n on windows (and in fact, if I take input, and replace \n with <br> or \r\n with <br>, either one works, so...). You don't need it in the header() function.
"\r\n" is window's interpretation of a newline. The return is just \n (newline), windows feels the need to add \r (carriage return) too.