About 51,700 results
Open links in new tab
  1. PHP header (Location: ...): Force URL change in address bar

    It's as if the web page still thinks that it resides at /php/server instead of /. Strangely, my other use of header ("location: ...") at logout.php works and redirects the page successfully with a URL …

  2. Creating a PHP header/footer - Stack Overflow

    I would like to impliment php so that he can change his header/footer without having to go back through every file. Problem is, I'm pretty much totally unfamiliar with how php works. Is there a …

  3. How do I make a redirect in PHP? - Stack Overflow

    Apr 20, 2009 · PHP's "Location"-header still uses the HTTP 302 -redirect code, this is a "temporary" redirect and may not be the one you should use. You should consider either 301 …

  4. How to correctly include a PHP header on every page

    Feb 1, 2013 · My current project routes everything through index.php. Then I see what the $_SERVER['REQUEST_URI'] is, check against a whitelist, then perform some logic to include …

  5. PHP: How to send HTTP response code? - Stack Overflow

    Jul 15, 2010 · I have a PHP script that needs to make responses with HTTP response codes (status-codes), like HTTP 200 OK, or some 4XX or 5XX code. How can I do this in PHP?

  6. Best practice for HTML head in PHP - Stack Overflow

    Jan 9, 2015 · I've got my index.php, header.php and function.php. index.php includes header.php, which calls a function from function.php. The main thing I'm not sure about is how to make the …

  7. How do I read any request header in PHP? - Stack Overflow

    Feb 12, 2009 · How should I read any header in PHP? For example the custom header: X-Requested-With.

  8. Insert variable into Header Location PHP - Stack Overflow

    Insert variable into Header Location PHP Asked 13 years, 9 months ago Modified 7 years, 2 months ago Viewed 123k times

  9. Back to previous page with header ( "Location: " ); in PHP

    Mar 12, 2011 · The title of this question kind of explains my question. How do I redirect the PHP page visitor back to their previous page with the header( "Location: URL of previous page" );

  10. php - How to properly include a header file in a webpage - Stack …

    Nov 21, 2013 · 6 Your header file should only contain the HTML text you want for the header. As it will be inserted into another webpage, it should not be a full HTML document. Having only …