Welcome To Snipplr


Everyone's Recent PHP Snippets Tagged header



« Prev 1 Next »
  1. FAV

    Add header and footer every n times (php loop)

    Simple loop for adding header and footer avery n times in loop. Useful for printing tables.
    PHP 1 views posted 5 years ago by fedek6
  2. FAV

    Getting 3rd party cookies to work in an iframe

    Compact Privacy Policy allowing cookies to be used in an iframe without being blocked by the host website. See link for further details.
    PHP 0 views posted 6 years ago by gromitski
  3. FAV

    HTTP Header Status Codes With PHP.

    Take control of HTTP header status codes.
    PHP saved by 2 people 9 views posted 7 years ago by o0110o
  4. FAV

    No Cache HTTP Headers

    HTTP headers to disable caching.
    PHP saved by 4 people 5 views posted 7 years ago by ryantxr
  5. FAV

    PHP session problem *only in IE*

    IE Blocking iFrame Cookies
    PHP 7 views posted 8 years ago by kiroweb
  6. FAV

    Clean up WordPress wp_head()

    Remove unnecessary code from the default WordPress header.
    PHP 9 views posted 8 years ago by Huskie
  7. FAV

    Custom Admin Dashboard Header Logo

    Once we login and are in the backend of WordPress, there is another small logo of WordPress displayed on top. It’s small but if you wish to change it, then add below code to the same functions.php file we created in above step.
    PHP 2 views posted 8 years ago by jamiebrwr
  8. FAV

    Custom Admin Login Header Logo

    When a client wants to access the WordPress admin, the first thing they will notice is the login page with a WordPress logo. Wouldn’t it be better if this page had the logo of your client’s company or maybe yours? There are many simpler ways to d...
    PHP 7 views posted 8 years ago by jamiebrwr
  9. FAV

    PHP - Header Redirect

    PHP 2 views posted 8 years ago by kreatific
  10. FAV

    Add custom favicon to your Wordpress blog

    PHP 2 views posted 8 years ago by paulund
  11. FAV

    Thesis: Custom Header Logo

    PHP 2 views posted 8 years ago by psteinweber
  12. FAV

    Thesis: move nav below header

    PHP 2 views posted 8 years ago by psteinweber
  13. FAV

    Test for AJAX Header in PHP

    PHP 5 views posted 8 years ago by supermauerbros
  14. FAV

    [php] Force Download file

    Simple force download crossbrowser
    PHP 3 views posted 8 years ago by Mosaic
  15. FAV

    PHP JSON Headers

    PHP saved by 6 people 3 views posted 9 years ago by simondiercks
  16. FAV

    Wordpress : header.php

    <pre><code>* Use the proper DOCTYPE. * The opening <html> tag should include language_attributes(). * The "content-type" meta element should be placed before everything else, including the title element. * Use bloginfo() to fetch the title and des...
    PHP saved by 4 people 6 views posted 9 years ago by blueocto
  17. FAV

    Use multiple custom headers on a WordPress theme

    The first thing to do is to create header files. Create as many different headers as you want. In this exemple, I have created 3 custom headers from my theme default file header.php, names headercontact.php, headergallery.php and headerdefault.php....
    PHP saved by 2 people 3 views posted 9 years ago by stephcode
  18. FAV

    Check if request is AJAX request

    Quick and easy way to determine if the HTTP request is an AJAX call or a standard call. Supports the notion of Unobtrusive JavaScript.
    PHP saved by 9 people 3 views posted 9 years ago by joshuascott94
  19. FAV

    php header content type

    PHP 0 views posted 9 years ago by fwso
  20. FAV

    check for email header injection

    PHP 4 views posted 9 years ago by errkk
  21. FAV

    Serve PDF file with PHP

    Quick basic way to serve a string or a file through PHP
    PHP 5 views posted 10 years ago by cburyta
  22. FAV

    Customize a file download (songs, PDFs, etc.)

    This code is really useful to download files (i.e. an mp3 file). It will tell the browser about the file type you’re about to download while also customizing the file name of it.
    PHP 1 views posted 10 years ago by LuckyShot
  23. FAV

    Random header imagaes

    Image files are: header_1 , header_2, header_3, header_4
    PHP 0 views posted 10 years ago by donatkinson
  24. FAV

    json header in php

    PHP saved by 4 people 2 views posted 10 years ago by michaelfox
  25. FAV

    Add http header to force IE8 to render in IE7 mode (PHP-Version)

    include this snippet in your sites to force InternetExplorer 8 to display your site like InternetExplorer 7 In summary, IE7 compatibility support looks as follows: IE=7 Display in IE7 Standards mode; Already supported in the IE8 Beta 1 relea...
    PHP saved by 6 people 4 views posted 10 years ago by tobaco
  26. FAV

    Save session value - then header redirect

    The problem is some times the redirect may kick you off to the next page before all the session variables have been saved. The true solution to lost session vars on redirect is to simply call session_write_close(); before setting the redirect header....
    PHP saved by 3 people 2 views posted 11 years ago by Wardy
  27. FAV

    Is the mail I sent, read or unread by the receiver.

    Is the mail I sent, read or unread by the receiver.
    PHP saved by 2 people 5 views posted 11 years ago by skywalker
  28. FAV

    Modify HTTP Headers (Examples)

    Many examples that show how to use the header() function of PHP
    PHP saved by 3 people 6 views posted 11 years ago by localhorst
  29. FAV

    php header redirect

    PHP saved by 14 people 4 views posted 13 years ago by gdonald
  30. FAV

    PHP: print html header

    PHP saved by 4 people 1 views posted 2020 years ago by KernelPanic
« Prev 1 Next »