Hey,
ik heb een betaal systeem endaarvoor heb ik even een simpele form gemaakt zodat ik weet welke user geld gedoneert heeft dus heb ik 2 inputs met naam en code die hij moest invullen bij betaling, dus het probleem is dat elke keer als ik op verzend druk dat hij 404 error krijgt? snap het probleem niet.
ik heb een betaal systeem endaarvoor heb ik even een simpele form gemaakt zodat ik weet welke user geld gedoneert heeft dus heb ik 2 inputs met naam en code die hij moest invullen bij betaling, dus het probleem is dat elke keer als ik op verzend druk dat hij 404 error krijgt? snap het probleem niet.
Spoiler tonen
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Just for Fun - Mobile Payment</title>
<!-- This is the CSS file for this tutorial -->
<link href="css/style.css" rel="stylesheet" type="text/css">
</head>
<body>
<br clear="all">
<center>
<div style="font-family:Verdana, Geneva, sans-serif; font-size:24px;">Mobile Payment vertification</div><br clear="all" />
<!-- Code Begins Here -->
<div class="vasplus_programming_blog_wrapper" align="left">
<center>
<div style="font-family:Verdana, Geneva, sans-serif; font-size:16px; float:left; width:120px;" align="left">Vertification</div>
<div style="font-family:Verdana, Geneva, sans-serif; font-size:11px; float:left; padding-top:4px;" align="left">All logs are being saved!</div><br clear="all" /><br clear="all" />
<div style="width:430px; font-family:Verdana, Geneva, sans-serif; font-size:12px;padding:10px;" align="left">
[COLOR= #0000BB]<?php[/COLOR]
[URL="http://www.php.net/if"]if[/URL] [COLOR= #007700]([/COLOR][URL="http://www.php.net/isset"]isset[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$_REQUEST[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]email[/COLOR][COLOR= #007700]]))[/COLOR]
[COLOR= #FF8000]//if "email" is filled out, send email[/COLOR]
[COLOR= #007700]{[/COLOR]
[COLOR= #FF8000]//send email[/COLOR]
[COLOR= #0000BB]$email[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #0000BB]$_REQUEST[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]email[/COLOR][COLOR= #007700]] ;[/COLOR]
[COLOR= #0000BB]$subject[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #0000BB]$_REQUEST[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]subject[/COLOR][COLOR= #007700]] ;[/COLOR]
[COLOR= #0000BB]$message[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #0000BB]$_REQUEST[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]message[/COLOR][COLOR= #007700]] ;[/COLOR]
[URL="http://www.php.net/mail"]mail[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000]"silabfreak@live.be"[/COLOR][COLOR= #007700],[/COLOR] [COLOR= #0000BB]$subject[/COLOR][COLOR= #007700],[/COLOR]
[COLOR= #0000BB]$message[/COLOR][COLOR= #007700],[/COLOR] [COLOR= #DD0000]"From:"[/COLOR] [COLOR= #007700].[/COLOR] [COLOR= #0000BB]$email[/COLOR][COLOR= #007700]);[/COLOR]
[URL="http://www.php.net/echo"]echo[/URL] [COLOR= #DD0000]"Donated succesfully, you will receive your donation status soon! Thanks for donating"[/COLOR][COLOR= #007700];
}[/COLOR]
[URL="http://www.php.net/else"]else[/URL]
[COLOR= #FF8000]//if "email" is not filled out, display the form[/COLOR]
[COLOR= #007700]{[/COLOR]
[URL="http://www.php.net/echo"]echo[/URL] [COLOR= #DD0000]"<form method=post action=paid.php>
JfF username: <input name=email type=text><br>
<input name=subject type=hidden value=Mobile payment>
<input name=message type=hidden value=Payment code:><br>
Payment code: <input name=message type=text><br>
<input type=submit>
</form>"[/COLOR][COLOR= #007700];
}[/COLOR]
?>
<br clear="all">
</center>
</div>
</center>
</body>
</html>