Search
 
SCRIPT & CODE EXAMPLE
 

PHP

php unsupported file types

<?php
// router.php
$path = pathinfo($_SERVER["SCRIPT_FILENAME"]);
if ($path["extension"] == "el") {
    header("Content-Type: text/x-script.elisp");
    readfile($_SERVER["SCRIPT_FILENAME"]);
}
else {
    return FALSE;
}
?>
Comment

PREVIOUS NEXT
Code Example
Php :: post_export signals 
Php :: phphtml 
Php :: SELECT * FROM `phptrip` WHERE `dest`=`BIHAR` LIMIT 0, 25 
Php :: post with count greater than 1 laravel 
Php :: laravel resourece type 
Php :: how to show image in easyadmin 3 index page 
Php :: Save custom input field value into cart item 
Php :: same name selection in phpstorm mac 
Php :: Laravel polimorfic faker 
Php :: Query without chaining not working - Laravel 
Php :: add p tag back in wordpress 
Php :: laravel collection load 
Php :: set additional params to form laravel 
Php :: php 7.1 functions parameters with "?" 
Php :: php random string for filename 
Php :: Allow mass assignment in Laravel 
Php :: php Get location date format 
Php :: auto reload page in chat php 
Php :: amazon ami 2 php ini 
Php :: laravel task scheduler error 
Php :: magento update attribute value without using object manager 
Php :: if ip in the array redirect php 
Php :: laravel migration softdelete 
Php :: fetch email from url contact form 7 
Php :: is_resource returns false 
Php :: cmb2-repeater video show single page with wordpress 
Php :: tina4 add debugging 
Php :: Laravel docker-compose 404 not found Nginx 
Php :: laravel get polymorphic names 
Php :: How to get only content-length with CURL PHP? 
ADD CONTENT
Topic
Content
Source link
Name
8+6 =