Subversion Repositories Integrator Subversion

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
1 espaco 1
<?php
2
 
3
if ( isset( $_POST['src'] ) && preg_match( '/scripts\/[a-zA-Z_\-_]+\.php/', $_POST['src'] ) !== 0 ) {
4
        echo htmlspecialchars( file_get_contents( '../server_side/'.$_POST['src'] ) );
5
}
6
else {
7
        echo '';
8
}
9
 
10