How to use $_server in php with program code
<?php
$val=$_SERVER['QUERY_STRING'];
$val.="\n";
$fp=fopen("chat.txt","a");
fwrite($fp,$val);
fclose($fp);
?>
<?php
$val=$_SERVER['QUERY_STRING'];
$val.="\n";
$fp=fopen("chat.txt","a");
fwrite($fp,$val);
fclose($fp);
?>
0 comments: