Php link


can someone give me some script…here i will explain……user=*&key=
and when that link is opened…it automaticly save username and key on txt or another file…and later…
and it shood save
Username: admin
Key: 8794
…and i coud brows all this keys…bechouse there will be nearly houndread of them…:slight_smile:

thanks :slight_smile:

Take a look at this -> to understand $_GET methods.


<?php $file=fopen("file.txt", 'w') or die("can't open file"); if (isset($_GET["usrname"]) && isset($_GET["key"])) { fwrite($file, "Username: " . $_GET["usrname"] . "\n"); fwrite($file, "Key: " . $_GET["key"]); fclose($file); } else { echo 'enter something'; } ?>


Sponsor our Newsletter | Privacy Policy | Terms of Service