/ Published in: PHP
                    
                                        
                            
                                Expand |
                                Embed | Plain Text
                            
                        
                        Copy this code and paste it in your HTML
// Use this header instruction to fix 404 headers
// produced by url rewriting...
// Page was not found:
// Access forbidden:
// The page moved permanently should be used for
// all redrictions, because search engines know
// what's going on and can easily update their urls.
// Server error
// Redirect to a new location:
// Redriect with a delay:
print 'You will be redirected in 10 seconds';
// you can also use the HTML syntax:
// <meta http-equiv="refresh" content="10;http://www.example.org/ />
// override X-Powered-By value
// content language (en = English)
// last modified (good for caching)
// header for telling the browser that the content
// did not get changed
// set content length (good for caching):
// Headers for an download:
// load the file to send:
// Disable caching of the current document:
// set content type:
// show sign in box
print 'Text that will be displayed if the user hits cancel or ';
print 'enters wrong login data';
Comments
 Subscribe to comments
                    Subscribe to comments
                
                