mobile-money-betaal-systeem
Gesponsorde koppelingen
PHP script bestanden
Code (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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
<?php
if(!empty($_POST['pincode'])){
$username = "username";
$password = urlencode("pw");
//Pincode checken
$pincode = $_POST['pincode'];
$bestand = @fopen("http://www.mobilemoney.biz/validate.asp?username=".$username."&password=".$password."&pincode=".$pincode."&output=valid", "r");
$result = fgets($bestand);
if ($result == '1')
{
//succesfull
}
else if ($result == '-1')
{
echo '<p>Pincode klopt niet</p>';
}
else if ($result == '-2')
{
echo '<p>Helaas hebben wij geen verbinding kunnen maken door een onbekende technische storing</p>';
}
else if($result == '-3')
{
echo '<p>U heeft geen pincode ingevoerd.</p>';
}
else
{
echo 'Helaas ligt de server waar de betalingsinformatie vandaan wordt gehaald plat.';
}
}else{
?>
<!-- ----------------------------- -->
<!-- START OF MOBILEMONEY.COM CODE -->
<!-- ----------------------------- -->
<script language='javascript'>
<!--
function mobilemoneysale(ordernumber,pos)
{
mmrefname = 'username';
mmlanguage = 'xx';
mmpskin = '';
window.open('http://www.mobilemoney.com/salespopup.asp?pos='+escape(pos)+'&ordernumber='+escape(ordernumber)+'&refname='+escape(mmrefname)+'&language='+escape(mmlanguage)+'&popupskin='+escape(mmpskin),'popup','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,copyhistory=no,width=468,height=550,left='+eval((screen.availWidth/2)-234)+',top=50');
}
//-->
</script>
<!-- ----------------------------- -->
<!-- END OF MOBILEMONEY.COM CODE -->
<!-- ----------------------------- -->
<a href="javascript:mobilemoneysale('Titel pagina', 28);">Pincode</a>
<?php
}
?>
if(!empty($_POST['pincode'])){
$username = "username";
$password = urlencode("pw");
//Pincode checken
$pincode = $_POST['pincode'];
$bestand = @fopen("http://www.mobilemoney.biz/validate.asp?username=".$username."&password=".$password."&pincode=".$pincode."&output=valid", "r");
$result = fgets($bestand);
if ($result == '1')
{
//succesfull
}
else if ($result == '-1')
{
echo '<p>Pincode klopt niet</p>';
}
else if ($result == '-2')
{
echo '<p>Helaas hebben wij geen verbinding kunnen maken door een onbekende technische storing</p>';
}
else if($result == '-3')
{
echo '<p>U heeft geen pincode ingevoerd.</p>';
}
else
{
echo 'Helaas ligt de server waar de betalingsinformatie vandaan wordt gehaald plat.';
}
}else{
?>
<!-- ----------------------------- -->
<!-- START OF MOBILEMONEY.COM CODE -->
<!-- ----------------------------- -->
<script language='javascript'>
<!--
function mobilemoneysale(ordernumber,pos)
{
mmrefname = 'username';
mmlanguage = 'xx';
mmpskin = '';
window.open('http://www.mobilemoney.com/salespopup.asp?pos='+escape(pos)+'&ordernumber='+escape(ordernumber)+'&refname='+escape(mmrefname)+'&language='+escape(mmlanguage)+'&popupskin='+escape(mmpskin),'popup','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,copyhistory=no,width=468,height=550,left='+eval((screen.availWidth/2)-234)+',top=50');
}
//-->
</script>
<!-- ----------------------------- -->
<!-- END OF MOBILEMONEY.COM CODE -->
<!-- ----------------------------- -->
<a href="javascript:mobilemoneysale('Titel pagina', 28);">Pincode</a>
<?php
}
?>