![]() |
![]() ![]() |
![]() |
![]()
Post
#1
|
|
Grupa: Zarejestrowani Postów: 1 Pomógł: 0 Dołączył: 24.10.2008 Ostrzeżenie: (0%) ![]() ![]() |
Otóż mam problem, dokładnie coś nie tak jest z plikiem betaal3.php, a mianowicie na początku przed modyfikacją gdy wszedłem na http://b4rt3k.pdg.pl/betaal3.php przenosiło mnie automatycznie na jakąś tam stronę. Udało mi się to poprawić, lecz gdy na stronie http://b4rt3k.pdg.pl/betaal3.php naciskam przycisk "Click here after payed" w dalszym ciągu przenosi mnie na tamtą stron.
Jak temu zapobiedz? Co zmienić w kodzie? Adres do strony: http://b4rt3k.pdg.pl/betaal3.php Kod: Kod <?php /** ------------------------- **/
error_reporting(E_ALL ^ E_NOTICE); include("includes/db_connect.php"); /** ------------------------- **/ ?> <? # instellingen $partnerid = 3942; $betaalurl = 'http://www.gangster-town.nl/nieuw/betaal3.php'; # gebruik de onderstaande methode zodat het POST of GET onafhankelijk is; $betaalnummer = ( !empty($_POST['betaalnummer']) ) ? $_POST['betaalnummer'] : $_GET['betaalnummer']; $betaalcode = ( !empty($_POST['betaalcode']) ) ? $_POST['betaalcode'] : $_GET['betaalcode']; $c = ( !empty($_POST['c']) ) ? $_POST['c'] : $_GET['c']; ?><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd"> <html> <head> <title>Gebouw kopen</title> <meta name="generator" content="Namo WebEditor v5.0(Trial)"> </head> <body style="background: #333333; margin: 0px;"> <table width=100%> </head> <body bgcolor="red" leftmargin="6" topmargin="6" scroll=no> <? if (!$betaald) { if ($error) { echo 'Betaalcode is niet betaald. Probeer opnieuw!<hr>'; } ?> <p><strong>Koop een gebouw</strong></p> First look at countrys if the building is free yet.<br> Call the number <span style="font-weight: bold;font-size:14px;"> <?= $betaalnummer ?> </span><br> Now please type in the code: <span style="font-weight: bold;font-size:14px;"> <?= $betaalcode ?> </span><br> <br> You can call it costs you 1.30. Press the button here downstairs</font><br> <br> <form method="post" action="<?= $betaalurl ?>"> <input type="hidden" name="betaalnummer" value="<?= $betaalnummer ?>"> <input type="hidden" name="betaalcode" value="<?= $betaalcode ?>"> <input type="hidden" name="c" value="1"> <input type="submit" value="Click here after payed."> After this send a message to mic4 with the building you want to have! </form> </p> <? } elseif ($betaald) { echo " <h3>Call finished!</h3> <p>Remember: Send a message to mic4 whith the building you want to have!</p> <p>Thanks Gangster-town</p>"; } ?> </body> </html> |
|
|
![]()
Post
#2
|
|
![]() Grupa: Zarejestrowani Postów: 108 Pomógł: 0 Dołączył: 15.10.2006 Skąd: zewsząd :P Ostrzeżenie: (0%) ![]() ![]() |
Proponuję abyś napisał grę samemu, a nie używał silników dostępnych w necie. Sam zrobiłem taką grę i dała mi ona dużo doświadczenia.
A jeśli chodzi o problem który masz - ten kod zawsze będzie przenosił na http://www.gangster-town.nl/nieuw/betaal3.php. Wytłumacz co zmieniłeś, podaj oryginalny plik abyśmy mogli zobaczyć jak wtedy działał. Niezbyt jasno wytłumaczyłeś problem. |
|
|
![]() ![]() |
![]() |
Aktualny czas: 20.08.2025 - 09:16 |