-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdecodemail.php
31 lines (27 loc) · 1.11 KB
/
decodemail.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
<?php
/**
* Send emails to transporters.
* Prepare client e-mail address and put transport-offer reply address.
*
*
----------------- AZONOSÍTÓ BÉLYEG: NE MÓDOSÍTSA VAGY TÖRÖLJE! -----------------
[@@@@@@VGhpcyBpcyBhbiBlbmNvZGVkIHN0cmluZw==@@@@@@] (email)
[||||||bmNvZGVkIHN0cmluZw==VGhpcyBpcyBhbiBl||||||] (customerid)
----------------- AUTHENTICATION AREA: DON'T EDIT OR DELETE IT -----------------
*/
if(isset($_REQUEST["email"])){
$text = $_REQUEST["email"];
echo 'A kodolt e-mail cim: '.$text."<br/>";
$needle = "[@@@@@@";
$needle_len = strlen($needle);
$pos1 = strpos($text,$needle)+ strlen($needle);
$result_string = substr($text,$pos1);
$needle2 = "@@@@@@]";
$pos2 = strpos($result_string,$needle2);
$result_string = substr($text, $pos1, $pos2);
$client_email = base64_decode ( $result_string );
echo 'Az eredeti e-mail cim: '.$client_email."<br/>";
}else{
echo "A mukodeshez a vendingoutlet.org/decodemail.php?email=[@@@@@@.....@@@@@@] alakban adja at a kodolt e-mail belyeget a ?email= utan es usson entert.";
}
?>