PHP Classes

File: img/pie/PIE.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in Bookmark in
  Classes of Roman Shneer  >  PHP Security Scanner  >  img/pie/PIE.php  >  Download  
File: img/pie/PIE.php
Role: Auxiliary script
Content type: text/plain
Description: Application script
Class: PHP Security Scanner
Stop security attacks blocking malicious values
Author: By
Last change:
Date: 2 years ago
Size: 613 bytes


Class file image Download
This file is a wrapper, for use in PHP environments, which serves using the
correct content-type, so that IE will recognize it as a behavior. Simply specify the
behavior property to fetch this .php file instead of the .htc directly:

.myElement {
    [ ...css3 properties... ]
    behavior: url(PIE.php);

This is only necessary when the web server is not configured to serve .htc files with
the text/x-component content-type, and cannot easily be configured to do so (as is the
case with some shared hosting providers).

header( 'Content-type: text/x-component' );
'' );