Answers for "php to server"

PHP
1

$_Server php

<?php
echo $_SERVER['PHP_SELF'];
echo "<br>";
echo $_SERVER['SERVER_NAME'];
echo "<br>";
echo $_SERVER['HTTP_HOST'];
echo "<br>";
echo $_SERVER['HTTP_REFERER'];
echo "<br>";
echo $_SERVER['HTTP_USER_AGENT'];
echo "<br>";
echo $_SERVER['SCRIPT_NAME'];
?>
Posted by: Guest on February-22-2021
1

php server

cd path/to/your/app
php -S 127.0.0.1:8000
Posted by: Guest on September-24-2020

Browse Popular Code Answers by Language