Welcome To Snipplr


Everyone's Recent PHP Snippets Tagged xhtml



« Prev 1 Next »
  1. FAV

    getDoctype.inc.php

    With this snippet you will have the ability to display the `<DOCTYPE>` while sending the correct headers with support for content type negotiation. It also will correct itself for the W3C validator which does not send the correct Accept header for...
    PHP 133 views posted 4 months ago by daemondevin
  2. FAV

    WP External Links

    Configure settings for all external links on your site. Features: * Open external links in new window or tab * Add "nofollow" * Set link title * Set link icon * Set classes (for your own styling) * Set no-icon class * SEO friendly
    PHP 9 views posted 6 years ago by freelancephp
  3. FAV

    Basic template for Joomla 2.5

    Basic template for Joomla 2.5 with 3 columns
    PHP saved by 3 people 13 views posted 7 years ago by gradamedia
  4. FAV

    Close unclosed tags

    PHP saved by 2 people 13 views posted 9 years ago by ginoplusio
  5. FAV

    Clean / Indent XHTML Document

    Do you every wanted to clean and perfectly intent your xhtml document?
    PHP saved by 2 people 3 views posted 10 years ago by tillkruess
  6. FAV

    Extended Kohana HTML Helper

    My Kohana HTML Helper
    PHP saved by 2 people 5 views posted 10 years ago by antpaw
  7. FAV

    Nav menu for Thesis

    An example of how to write your own navigation with dynamic "active" classes.
    PHP saved by 9 people 6 views posted 11 years ago by kristarella
  8. FAV

    Convert incorrectly-formatted UTF-8 strings of HTML into correctly-formatted UTF-8 strings of plain text.

    Useful for taking incorrectly-formatted UTF-8 strings containing HTML data, and converting them to correctly-formatted UTF-8 plain text. A handy tool for displaying HTML stored in a database.
    PHP saved by 24 people 239 views posted 11 years ago by X3Maverick
  9. FAV

    Modrewrite for PHP variables

    write this in your .htaccess links are going to look like this yourpage.de/yourVariableValue1/yourVariableValue2/ [NC] will remove the case sensitivity of your static words like "admin" its going to work, even if you type yourpage.de/a...
    PHP saved by 6 people 9 views posted 11 years ago by antpaw
  10. FAV

    dynamic stylesheet

    This is like a cms for a stylesheet - includes all files to make a working xhtml/css demo
    PHP saved by 3 people 7 views posted 11 years ago by perthmetro
  11. FAV

    heredoc xhtml 1.0 strict page template

    PHP 2 views posted 12 years ago by oskarlie
  12. FAV

    Sending appropriate mimetype and doctype, if supported

    Sends as XHTML 1.1 + MathML if supported, falls back to XHTML 1.1 if supported, or falls back to HTML 4.01 Strict. Mixed two separate scripts: http://www.workingwith.me.uk/articles/scripting/mimetypes http://golem.ph.utexas.edu/~distler/blog/arc...
    PHP saved by 6 people 2 views posted 13 years ago by rolandog
  13. FAV

    Make Snipplr WordPress plugin output valid XHTML

    You should edit your WordPress plugin so that the $source variable at the end shows this value. Though it is a shame that code can't have an 'ol' as a childNode, and neither can the pre element. Couldn't find any way of making it all fit: http://lear...
    PHP saved by 9 people 6 views posted 13 years ago by rolandog
« Prev 1 Next »