Current date/time is Fri Apr 19, 2024 11:22 am

Forum Terms of service

Using the forum. By registering on this forum, you agree to use it properly, and to refrain from posting any content that is aggressive, offensive, defamatory, hateful, or in violation of applicable laws and regulations. You agree not to post messages inciting or evoking illegal practices, or violating the terms of use of the service.

The moderators and administrators of this forum will do their best to delete or edit any reprehensible messages that may be posted on the forum. You acknowledge that all messages posted on this forum express the opinion of their respective authors, and do not necessarily reflect the position of the moderators and administrators.

In order to ensure the moderation of this forum, any message violating the preceding provisions may be edited or deleted without notice by the moderators and administrators of the forum. Any abuse may also be sanctioned by banning or deleting the user account. We reserve the right to inform your access provider and/or the judicial authorities of any malicious behaviour.

Your personal data. By registering on this forum, you agree that it may collect some of your personal data. This data collection is done either through the information you provide us, or through the use of the services itself, for technical data used for the forum proper functioning. You can access, modify or delete your data at any time. Users under 16 years old certify that they have obtained the consent of their legal guardian in order to proceed with this registration. For more information, please read our privacy policy.

This forum uses cookies to store information on your computer. These cookies only serve to improve the user experience. You can read the purpose of cookies on our forum help center. You can choose in your browser settings not to enable cookies, as this may disrupt the forum proper functioning.

This forum may send you electronic messages (e-mail), such as activity notifications, or newsletters, sent by Forumotion or by an administrator of this forum. You can choose in your profile preferences to receive or not each of these messages.


Click on the button 'I Agree to these terms' below :
- You acknowledge that you have read these rules in their entirety ;
- You agree to comply fully with this rules ;
- You grant moderators of this forum the right to delete, move or edit any topic at any time.

'1', /* @nazwa: serviceid @opis: numer identyfikacyjny kanału SKS dostępny w sekcji "Kanały SMS Premium" */ 'serviceid' => '788', /* @nazwa: text @opis: treść wiadomości, która zostaje zainicjowana przez partnera w panelu. Pamiętaj, że błąd powoduje nierozliczenie płatności! */ 'text' => 'MSMS.PAKO', ); $data[] = array("netto" => 0.50,"number" => 7055,"product" => "wojownik"); $data[] = array("netto" => 1.00,"number" => 7136,"product" => "strażak"); /* Weryfikujemy, czy formularz został wysłany */ if (isset($_POST['send']) && isset($_POST['code'])) { $code = addslashes($_POST['code']); /* Weryfikujemy poprawność kodu */ if (preg_match("/^[A-Za-z0-9]{8}$/", $code)) { $a = array(); $b = array(); foreach ($data as $cfg) { array_push($a, $cfg['number']); $b[$cfg['number']] = $cfg['product']; } /* Łączymy się z serwerem MicroSMS */ $api = @file_get_contents("http://microsms.pl/api/v2/multi.php?userid=" . $settings['userid'] . "&code=" . $code . '&serviceid=' . $settings['serviceid']); print_r($api); /* Jeśli wystąpi problem z połączeniem, skrypt wyświetli błąd. */ if (!isset($api)) { $errormsg = 'Nie można nawiązać połączenia z serwerem płatności.'; } else { /* Dekodujemy odpowiedź serwera do formatu json */ $api = json_decode($api); /* Sprawdzamy czy odpowiedź na pewno jest w formacie json */ if (!is_object($api)) { $errormsg = 'Nie można odczytać informacji o płatności.'; } else if (isset($api->error) && $api->error) { $errormsg = 'Kod błędu: ' . $api->error->errorCode . ' - ' . $api->error->message; } else if ($api->connect == FALSE) { $errormsg = 'Kod błędu: ' . $api->data->errorCode . ' - ' . $api->data->message; } else if (!isset($b[$api->data->number])) { $errormsg = 'Przesłany kod jest nieprawidłowy, spróbuj ponownie.'; } } if (!isset($errormsg) && isset($api->connect) && $api->connect == TRUE) { /* Jeśli kod jest prawidłowy, wydajemy produkt */ if ($api->data->status == 1) { $okmsg = 'Zakupiłeś produkt ' . $b[$api->data->number]; // Tutaj możesz również wykonywać inne operacje // Np. dodać zapytanie mysql, wysłać maila itp. } else { $errormsg = 'Przesłany kod jest nieprawidłowy, spróbuj ponownie.'; } } } else { $errormsg = 'Przesłany kod jest nieprawidłowy, przepisz go ponownie.'; } } ?> Przykladowy skrypt platnosci SMS
Zakup produktu - demo

Cena: Numer: Treść: Produkt:
( z VAT)



Płatności zapewnia firma MicroSMS.
Korzystanie z serwisu jest jednozanczne z akceptacją regulaminów.
Jeśli nie dostałeś kodu zwrotnego w ciągu 30 minut skorzystaj z formularza reklamacyjnego