Blame view

datalets/datatable-datalet/js/DataTables-1.10.5/examples/resources/examples.php 222 Bytes
abeb4a17   Luigi Serra   Update components...
1
2
3
4
5
6
7
8
9
10
  <?php

  

  if ( isset( $_POST['src'] ) && preg_match( '/scripts\/[a-zA-Z_\-_]+\.php/', $_POST['src'] ) !== 0 ) {

  	echo htmlspecialchars( file_get_contents( '../server_side/'.$_POST['src'] ) );

  }

  else {

  	echo '';

  }