Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $label = addslashes($_POST['label']);
- $date = date("Y-m-d");
- $dogeAPIKey = "yAfud|p0dxmXIuC3";
- $doge = new DogeAPI();
- $validKey = $doge->set_key($dogeAPIKey);
- if($validKey) {
- $adres1 = $doge->get_new_address(array('address_label' => $label)); // zrodlo bledu?
- $sql1="INSERT INTO donators (name, date, address, address_label) VALUES ('$user', '$date', '$adres1', '$label')";
- }else{
- echo "api key error, such sorry";
- }
Advertisement
Add Comment
Please, Sign In to add comment