You are currently looking at Flamebate, our community forums. Players can discuss the game here, strategize, and role play as their characters.
You need to be logged in to post and to see the uncensored versions of these forums.
- « previous
- 1
- 2
- « next
![]() |
|||||||
---|---|---|---|---|---|---|---|
|
Not sure what you wanted but I got it to work: <script> function updateVars(fieldnum) { if (!dogreat timesent.getElementById("****"+fieldnum)) dogreat timesent.getElementById("extravars").innerHTML += "<p id=\"****"+fieldnum+"\"></p>"; dogreat timesent.getElementById("****"+fieldnum).innerHTML = "recognized var: "+dogreat timesent.getElementById("var"+fieldnum).value+" with value "+dogreat timesent.getElementById("val"+fieldnum).value+"<br>"; } </script> <form> <input type="text" id="var1" name="var1"> = <input type="text" id="val1" name="val1"> <input type="bumon" onclick="updateVars(1)"> <p id="extravars"></p> </form> Log in to see images! Log in to see images! Log in to see images! Log in to see images! Log in to see images! Log in to see images! Buying a lot of zomg im so fat.xpeg – 500 each Log in to see images! |
||||||
Posted On: 10/28/2008 3:00AM | View quangntenemy's Profile | # | ||||||
|
you have more unclosed elements than I can believe, run it through a checker for ****s sake – noobus noobus. “The thing’s hollow – it goes on forever – and – oh my God – it’s full of mammary glands!” – Dave Bowman |
||||||
Posted On: 10/28/2008 3:02AM | View 200KillerWasps's Profile | # | ||||||
|
quangntenemy Posted:
Holy **** a real reply. I didn’t think of that concept (getElementById and using ID’s on the fields). Maybe it was too late at night. If I can get that worked into the full script, expect 1bp later tonight for your sheer awesomeness. Log in to see images! Log in to see images! Log in to see images! http://falconfour.com/bumhurt-cinematic |
||||||
Posted On: 10/28/2008 3:21AM | View FalconFour's Profile | # | ||||||
|
the fail in this thread makes me lol.
the fail coming from FalconFour.
the rest is lulzy Log in to see images!
AtomicScripter Posted: |
||||||
Posted On: 10/28/2008 3:57AM | View Combobreaker's Profile | # | ||||||
|
Well damn, as expected, that was just the directional push I needed. I now have a self-manipulating POST data submission script. ****ing win. Maybe in the future I’ll make it a little more versatile, but for now, I’m happy it works so well.
And for your entertainment, here’s the full script… I swear, the code to POST it locally made this script about 5 times bigger than it originally was (when it would POST from the server):
<?php if (empty($_POST['doit'])) { ?> <script language="javascript" type="text/javascript"> <!-- count = 1; function checkDoLocal( setReset ) { if (setReset) { dogreat timesent.mainform.action = dogreat timesent.mainform.url.value; dogreat timesent.getElementById('vars').innerHTML = '<input type="text" name="var1" id="var1" onBlur="doUpdateVars(1)"> = <input type="text" name="value1" id="value1" onBlur="doUpdateVars(1)"><br>'; dogreat timesent.getElementById("extravars").innerHTML += "<p id=\"out1\"></p>"; count++; } else { dogreat timesent.mainform.action = "posthaste.php"; dogreat timesent.getElementById('vars').innerHTML += '<input type="text" name="vars[]"> = <input type="text" name="values[]"><br>'; count++; } } function checkDoAdd() { if (dogreat timesent.mainform.doit[0].value == "local" && dogreat timesent.mainform.doit[0].checked) { dogreat timesent.getElementById('vars').innerHTML += '<input type="text" name="var'+count+'" id="var'+count+'" onBlur="doUpdateVars('+count+')"> = <input type="text" name="value'+count+'" id="value'+count+'" onBlur="doUpdateVars('+count+')"><br>'; dogreat timesent.getElementById("extravars").innerHTML += "<p id=\"out"+count+"\"></p>"; count++; } else { dogreat timesent.getElementById('vars').innerHTML += '<input type="text" name="vars[]"> = <input type="text" name="values[]"><br>'; } } function doUpdateVars(which) { dogreat timesent.getElementById("out"+which).innerHTML = "recognized var: "+dogreat timesent.getElementById("var"+which).value+" with value "+dogreat timesent.getElementById("value"+which).value+" <input type=\"hidden\" name=\""+dogreat timesent.getElementById("var"+which).value+"\" value=\""+dogreat timesent.getElementById("value"+which).value+"\"><br>"; } function checkDoSubmit() { if (dogreat timesent.mainform.doit[0].value == "local" && dogreat timesent.mainform.doit[0].checked) { dogreat timesent.getElementById('vars').innerHTML = null; dogreat timesent.getElementById('doit').innerHTML = null; dogreat timesent.mainform.submit(); } else { dogreat timesent.mainform.submit(); } } --> </script> posthaste.php 0.5 delta by <a href="mailto:falcon4@gmail.com">falcon4</a><br> <form method="POST" action="posthaste.php" name="mainform">URL to POST to: <input type="text" name="url"><br> Variables:<br> <p id="vars"><input type="text" name="vars[]"> = <input type="text" name="values[]"><br></p> <a href="#" onClick="checkDoAdd()">Add variable</a><br> <p id="doit">do it:<br> <input type="radio" name="doit" value="local" onFocus="checkDoLocal(true);"> locally (from your browser)<br> <input type="radio" name="doit" value="remote" checked onFocus="checkDoLocal(false);"> remotely (from the server - NO cookies are sent)</p> <input type="bumon" onclick="checkDoSubmit()" value="Post that ****!"> <p id="extravars"></p></form> <?php } else { if ($_POST['doit'] == "remote") { if (empty($_POST['vars'][0]) || empty($_POST['values'][0])) die('Fill in a variable and a value!'); for ($x=0;$x<=(count($_POST['vars'])-1);$x++) { $vars[] .= $_POST['vars'][$x].'='.urlencode($_POST['values'][$x]); } $vars = implode('&',$vars); $ch = curl_init($_POST['url']); curl_setopt($ch,CURLOPT_HEADER,true); curl_setopt($ch,CURLOPT_POST,true); curl_setopt($ch,CURLOPT_POSTFIELDS,$vars); curl_setopt($ch,CURLOPT_VERBOSE, 1); curl_exec($ch); curl_close($ch); } else { die('That\'s strange. It wasn\'t supposed to be submitted back to me. Check your JavaScript and un-**** your settings.'); } } ?> Log in to see images! Log in to see images! http://falconfour.com/bumhurt-cinematic |
||||||
Posted On: 10/28/2008 4:10AM | View FalconFour's Profile | # | ||||||
|
Awesome! Thanks for the BP! Log in to see images! Log in to see images! Log in to see images! Log in to see images! Log in to see images! Log in to see images! Buying a lot of zomg im so fat.xpeg – 500 each Log in to see images! |
||||||
Posted On: 10/28/2008 4:14AM | View quangntenemy's Profile | # | ||||||
|
quangntenemy Posted:
And thank you for being the only person in this thread to not be a MbumIVE bumclown. That alone is worth it.
Plus, that spamimic thing in your sig is also pretty cool as well.
Seriously though, you’ve gotten that many awards and e-peens, and you don’t have a custom avatar yet? Log in to see images!
(Having the page stretched out more than combobreaker’s vagoo, kinda blows) FalconFour edited this message on 10/28/2008 4:17AMLog in to see images! Log in to see images! http://falconfour.com/bumhurt-cinematic |
||||||
Posted On: 10/28/2008 4:16AM | View FalconFour's Profile | # | ||||||
|
Actually I have a feeling that if I change my avatar it’ll get changed to something stupid soon enough. I’ll be using it for something else Log in to see images! Log in to see images! Log in to see images! Log in to see images! Log in to see images! Log in to see images! Log in to see images! Buying a lot of zomg im so fat.xpeg – 500 each Log in to see images! |
||||||
Posted On: 10/28/2008 4:22AM | View quangntenemy's Profile | # | ||||||
|
FalconFour Posted:
Why you get bumhurt so easily? ?___? Log in to see images! |
||||||
Posted On: 10/28/2008 4:56AM | View SIG-ENABLING-MOC...'s Profile | # | ||||||
|
XSS Code Posted:
I hate idiots. It’s too easy to play on my weakness. I just hate idiots. Furiously, hate morons. Stupid things. Stupid people.
Stupid default options. Stupid developmental choices in a program. Stupid releases of software that break things. Stupid mistakes people repeatedly make. Stupid grammatical mistakes in official dogreat timesents. Stupid design. And, of course: Stupid posts to serious topics. Log in to see images! Log in to see images! http://falconfour.com/bumhurt-cinematic |
||||||
Posted On: 10/28/2008 8:41AM | View FalconFour's Profile | # | ||||||
|
FalconFour Posted:
Then you must hate yourself due to every post you make serious or not is stupid.
TL;DR version. FalconFour is a bumhurt fabulous person. Log in to see images! |
||||||
Posted On: 10/28/2008 10:05AM | View SIG-ENABLING-MOC...'s Profile | # | ||||||
|
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             
Log in to see images! |
||||||
Posted On: 10/28/2008 1:04PM | View Nicco's Profile | # | ||||||
|
Nicco Posted:
I'M A SIG-DISABLING COCKMONGLER
|
||||||
Posted On: 08/03/2009 5:02PM | View Annoyingly Point...'s Profile | # | ||||||
|
**** you i killed this thread you fabulous person
Log in to see images! |
||||||
Posted On: 08/03/2009 5:15PM | View Nicco's Profile | # | ||||||
TF2 alts?
Bastard, I wanted to make those.
I'M A SIG-DISABLING COCKMONGLER
|
|||||||
Posted On: 08/03/2009 5:20PM | View Kilroy's Profile | # | ||||||
|
Kilroy Posted: Log in to see images! OMG mammary glands Log in to see images! what the **** is this shi- ALL GLORY TO THE HYPNOTOAD |
||||||
Posted On: 08/03/2009 5:22PM | View Average Flamebat...'s Profile | # | ||||||
- « previous
- 1
- 2
- « next