Profile
Achievement
 
    
                bradless's Recent PHP Snippets
- All /
 « Prev 1 Next »
I use the following code to prevent a user from getting a "webpage expired" message when hitting the back button on a page where the search results are also on the page with the form.
        
        
        
            0 
        
        
            2229 
        
                    posted 14 years ago by bradless
            This will convert dates from MM-DD-YYYY to YYYY-MM-DD (iso format)
        
        
        
            1 
        
        
            1611 
        
                    posted 15 years ago by bradless
            This set of headers works for me when I output file data from the database for the user to save or open.
        
        
        
            0 
        
        
            1821 
        
                    posted 15 years ago by bradless