-
Posts
2,210 -
Joined
-
Last visited
-
Days Won
47
Content Type
Profiles
Forums
Events
Everything posted by sniko
-
They're in love, secretly. :)
-
Considering this thread has already been bumped, allow me to suggest a service provider. Since moving to Digital Ocean, I've experienced their customer support, billing options, and read their tutorials. They're a brilliant company to be with, however they don't offer the cPanel interface AFAIK - you'd have to purchase the license for that, and install it yourself. If you're curious on a further in depth review of mine, read this
-
I can confirm that they are not
-
I did this sort of thing Panther - a timed 'experiment' ;) I wish you luck, and please post what you have accomplished after, irregardless of quality :p
-
Does it offer a admin side of things, whereby you can upload games? Also, search doesn't work; Parse error: syntax error, unexpected '[' in /home/cavellan/public_html/arcade/Logic/Controller/Search.php on line 23
-
You must spread some Reputation around before giving it to Alan again.
-
Run the query in your database interface; i.e phpmyadmin, and see if that gives an error. (Don't put a function in quotes, it will be treated as a string)
-
After the PM with chicka, I've come up with the following; <a href="http://makewebgames.io/showthread.php/43913-Need-a-bot">This was built for Chicka</a> <br /> <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script> <?php if (array_key_exists('id', $_POST)) { $id = filter_input(INPUT_POST, 'id', FILTER_VALIDATE_INT) ? abs((int) $_POST['id']) : 0; $goup = filter_input(INPUT_POST, 'goup', FILTER_VALIDATE_INT) ? abs((int) $_POST['goup']) : 10; $goup = $goup > 15 ? 15 : $goup; ?> <script> var dataArray = []; function storeIt(data) { dataArray.push(data); console.log('Data is stored in the array'); console.log(dataArray.length); } dataArray.sort(); setTimeout(function() { if (dataArray.length >= <?php echo $goup - 1; ?>) { $.each(dataArray, function(idx, val) { $("#profile").delay(1000).queue(function(next) { $(this).empty().html(val); next(); }); }); } }, 1000); </script> <?php if ($_POST['direction'] == 'up') { //Count upwards for ($i = 0; $i <= $goup; $i++) { $param = $id + $i; ?> <script> $.get('profile.php?id=' + <?php echo $param; ?>, storeIt); </script> <?php } } else { //Count downwards for ($i = 0; $i <= $goup; $i--) { $param = $id + $i; ?> <script> $.get('profile.php?id=' + <?php echo $param; ?>, storeIt); </script> <?php if ($param < ($id - $goup)) { break; } } } } ?> <div id="profile"></div> <form action="" method="post"> Starting ID: <input type="text" name="id" /> <br /> Increment/Decrement by: <input type="text" name="goup" /> (Default is 10. No higher than 15) <br /> Direction: <select name="direction"> <option value="up" selected>Up</option> <option value="down">Down</option> </select> <br /> <input type="submit" value="Perform Execution" /> </form>
-
What exactly was it you're looking for? I've got some spare time, so I'll give it another shot.
-
Have you setup the API in PayPal? The script I posted above works, as I had to adjust it to their upgraded systems.
-
Something like; <a href="http://makewebgames.io/showthread.php/43913-Need-a-bot">This was built for Chicka</a> <br /> <?php if(array_key_exists('id', $_POST)) { $id = filter_input(INPUT_POST, 'id', FILTER_VALIDATE_INT) ? abs( (int) $_POST['id']) : 0; $goup = filter_input(INPUT_POST, 'goup', FILTER_VALIDATE_INT) ? abs( (int) $_POST['goup']) : 10; $goup = $goup > 50 ? 50 : $goup; echo '<ul>'; if($_POST['direction'] == 'up') { //Count upwards for($i=0;$i<=$goup;$i++) { $param = $id + $i; echo '<li>mysite.com/user.php?id='. $param .'</li>'; } } else { //Count downwards for($i=0;$i<=$goup;$i--) { $param = $id + $i; echo '<li>mysite.com/user.php?id='. $param .'</li>'; if($param < ($id - $goup)) { break; } } } echo '</ul>'; } ?> <form action="" method="post"> Starting ID: <input type="text" name="id" /> <br /> Increment/Decrement by: <input type="text" name="goup" /> (Default is 10. No higher than 50) <br /> Direction: <select name="direction"> <option value="up" selected>Up</option> <option value="down">Down</option> </select> <br /> <input type="submit" value="Perform Execution" /> </form> The math can be done much more efficiently, however.
-
Can you provide proof of the RC engine licence?
-
Saving it for the namespace? Also, check this test run and you will see why it's bool(false). Take note of what the above post says. As you've claimed to be one of the best around here on these forums multiple times, I'd of thought you would have done that.
-
Try this. I've run it through sandbox and live, and it worked. <?php defined('paypal_sandbox', TRUE); //It's set to sandbox.paypal.com $link = 'www.paypal.com'; if (paypal_sandbox) { $link = "www.sandbox.paypal.com"; } // read the post from PayPal system and add 'cmd' $req = 'cmd=_notify-validate'; $req .= '&' . http_build_query($_POST); // post back to PayPal system to validate $header .= "POST /cgi-bin/webscr HTTP/1.0\r\n"; $header .= "Content-Type: application/x-www-form-urlencoded\r\n"; $header .= "Content-Length: " . strlen($req) . "\r\n"; $header .= "Host: " . $link . "\r\n\r\n"; $fp = fsockopen('ssl://' . $link, 443, $errno, $errstr, 30); // assign posted variables to local variables $item_name = $_POST['item_name']; $item_number = $_POST['item_number']; $payment_status = $_POST['payment_status']; $payment_amount = $_POST['mc_gross']; $payment_currency = $_POST['mc_currency']; $txn_id = $_POST['txn_id']; $receiver_email = $_POST['receiver_email']; $payer_email = $_POST['payer_email']; $site_id = $_POST['custom']; $custom = $_POST['custom']; if (!$fp) { // HTTP ERROR } else { fputs($fp, $header . $req); while (!feof($fp)) { $res = fgets($fp, 1024); if (strcmp($res, "VERIFIED") == 0) { //Paypal returned VERIFIED } } else if (strcmp($res, "INVALID") == 0) { //Paypal returned INVALID } } fclose($fp); } ?>
-
I've started using DigitalOcean. Their customer service, tutorials, (basically everything about them) is prestigious over any other company I've been with.
-
With TopListedGames, I made use of the imgur api - it worked effectively! They return file information with JSON, once uploaded. Apart from that, have a look at these. With regards to the 'which form' issue, it depends how you want to handle it. I'd put it in the same form as everything else, if I were you. <form action="" method="post" class="form-horizontal" enctype="multipart/form-data"> <label>Name</label> <input type="text" name="name" /> <br /> <label>Description</label> <textarea name="desc"></textarea> <br /> <label>Upload 1</label> <input type="file" name="upload1" /> <br /> <label>Upload 2</label> <input type="file" name="upload2" /> <br /> </form> Then, just use the superglobal; $_FILES, and upload as you would by using predefined functions :)
-
Depending on the length. (1 day can still be measured in seconds, so you're not being overly specific). Say the time is 2 seconds, or something equivalent to a minor duration; Put time period in a session Match it to current time, using PHP The time period will be stored in a session using PHP, so timezones won't apply [*]If the time period is still active (i.e: session time is greater than current time), don't execute the recruitment Say the time is a few minutes (5, or perhaps even more) Use timestamps ('cron'-way, or session way, entirely up to you) Say the time is a few hours, or above Use servers automatic tasks; crons :)
-
If this isn't a joke, I'll happily lend you a dollar.
-
Easier to leech off the 'predefined' $ir, than select and store in memory yourself :?
-
Thanks Bennyh789 for the kind words! I'm excited to see what the outcome is!
-
I'm unsure if this is what you wanted, but it's what I concluded from your post. JsFiddle
-
TopListedGames is a brand new toplist, reinventing the way a toplist communicates with its members. Not only do we offer an API for you to fetch data from our end, and manipulate it anyway you wish, but we've partnered with the biggest game engines around, giving licensed engine holders more opportunities and the ability to get more players, just from being licensed. Our business plan is not pay-for-clicks, it's pay-for-time. To get an advertising spot, you would purchase credits (which can be spent on; making your site have premium status for a number of days, doubling your chance of becoming on the first page quicker, or advertising spots throughout the site) at a low cost. Trading credits for banner advertising spots will issue you 24hours for your banner to show in your desired location. Repeatedly purchasing the same advertising spot will add an extra 24hours onto your time, enhancing your chances for more out clicks, and player signups. With our custom API, you are able to view a number of statistics on your game. You will be able to fetch your current rank (sorted by votes, and clicks), and the amount of votes and clicks you have, as well as numerous other things. TopListedGames realize that there is a struggle competing with game that pop up, and disappear quickly (mostly run with invalid licenses) therefore, with our partnerships with certain engines, you're able to check your license and game URL with our partners. If you're running a legitimate license, we'll give you credits, enhancing your potential, and help you raise your popularity against this sort of 'competition'. We're on your side. Promotional Code: [highlight]849858825[/highlight] (Valid until 31st August, 2013) This promotional code will give you a number of set credits for you to spend on advertising. So, what are you waiting for? Sign up today, and submit your games! Currently, there is no limit on how many gamer per account - games will have to be validated before they show on the toplist. Credits are subject to your account, and not individual games; although you purchase them through 'Make your game premium' system. Prices of credits are not 'set in stone', and are subject to change. Credits cannot be refunded. TopListedGames will never ask for your account details, nor are we accountable for your actions - i.e giving access to your account to someone else. If you encounter any problems, or have any queries, please contact us.
-
Perhaps apply your knowledge you stated here, and upgrade your online hasher, so there is only 1 single visible page request (the immediate one)?