Subversion Repositories cheapmusic

Rev

Rev 107 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 107 Rev 121
Line 1... Line 1...
1
<?php
1
<?php
2
include_once ($_SERVER['DOCUMENT_ROOT'] . "/php/dnsexit.php");
2
include_once ($_SERVER['DOCUMENT_ROOT'] . "/php/hosting.php");
3
 
3
 
4
//set array of allowed file types to prevent abuse
4
//set array of allowed file types to prevent abuse
5
$allowed = array('css','js','png','jpg','jpeg','gif','svg','ico');
5
$allowed = array('css','js','png','jpg','jpeg','gif','svg','ico');
6
 
6
 
7
//check for request variable existence and that file type is allowed
7
//check for request variable existence and that file type is allowed