php - Why is Post not Coming out -
php - Why is Post not Coming out -
when seek post online shop doesnt show username, shows item.
html:
<style type="text/css"> body { background-image: url(abstractsdark6.jpg); } body,td,th { color: #fff; } </style> <center> <p> </p> <p><img src="tengokucraftshop.png" width="1002" height="215"> <p><span style="font-family:'myriad web pro'; font-size:12pt">thank buying 1 time access listed $10</span> <p style="font-family:'myriad web pro'; font-size:12pt">please insert minecraft username below.</p> <input type="text" value="username" name="username" method="post"> <p> </p> <p style="font-family:'myriad web pro'; font-size:12pt">item wish buy:</p> <form name="myform" action="purchaseconfirm.php" method="post"> <div align="center"> <select name="item"> <option value="10k cash ingame ">$10,000.00 in game cash - iconomy</option> <option value="diamond set(armor , wep/tools x2)">full set of diamond (includes armor , tools/wepons) x2</option> <option value="item">item</option> </select> <p style="font-family:'myriad web pro'; font-size:12pt">if abuse , paypal logs checked. not recieve item breaking our rules , consequense not recieve item.</p> <p style="font-family:'myriad web pro'; font-size:12pt">please send screenshot of payment proof haxconnect24@gmail.com computer clock beingness shown, easy tell fraud image. dont try. </p> <p style="font-family:'myriad web pro'; font-size:12pt">after purchase banned tengokucraft shop for: 1 week (168 hours or 10,080 minutes or 604,800 seconds), security measure</p> <p style="font-family:'myriad web pro'; font-size:12pt"><br /> <input type="submit" value="pressing button agree terms above , schedrule item given you"> </p> </form>
php:
<?php $directory_self = str_replace(basename($_server['php_self']), '', $_server['php_self']); $logfile= $_server['document_root'] . $directory_self . 'purchases.html'; $logdetails= date("f j, y, g:i a") . ' : <br>username:<br> ' . $_post['username'] . ' <br>item purchased:<br> ' . $_post['item'] . '</p>'; $fp = fopen($logfile, "a"); fwrite($fp, $logdetails); fwrite($fp, " <br>----------------------<br>"); fclose($fp); echo "your purchase , item request recieved. schedruled given in post office!, have been banned 1 week security measure. give thanks you!"; ?>
outcome:
date(ignore removed it) : username: item purchased: 10k cash ingame ----------------------
ive tried several things , cant prepare this. there anyway can fixed? using dreamweaver cs5.5
because
<input type="text" value="username" name="username" method="post">
is on outside of <form>
have re-create under <form name="myform" .....
. <input>
must :
<input type="text" value="username" name="username">
you can utilize method=''
parameter <form>
tag, only.
php html post
Comments
Post a Comment