Welcome Guest, Not a member yet? Register   Sign In
Warning show up when using redirect($url, 'refresh');
#4

[eluser]Vlad Balmos[/eluser]
It doesn't matter. You are making a header request. The following is a quote 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 or empty lines that are output before header() is called. The same problem exists when using a single PHP/HTML file."

The code i posted was escaped to prevent xss. It's plain javascript code. Search for [removed] and setTimeout function in javascript. You'll get the ideea.


Messages In This Thread
Warning show up when using redirect($url, 'refresh'); - by El Forum - 07-28-2011, 09:46 PM
Warning show up when using redirect($url, 'refresh'); - by El Forum - 07-29-2011, 01:34 AM
Warning show up when using redirect($url, 'refresh'); - by El Forum - 07-29-2011, 02:34 AM
Warning show up when using redirect($url, 'refresh'); - by El Forum - 07-29-2011, 02:41 AM
Warning show up when using redirect($url, 'refresh'); - by El Forum - 07-29-2011, 02:49 AM
Warning show up when using redirect($url, 'refresh'); - by El Forum - 07-29-2011, 03:15 AM
Warning show up when using redirect($url, 'refresh'); - by El Forum - 07-29-2011, 04:18 AM
Warning show up when using redirect($url, 'refresh'); - by El Forum - 07-29-2011, 04:50 AM



Theme © iAndrew 2016 - Forum software by © MyBB