HTML - Post Flood Limit?
While more of a curiosity than a problem, I'd still like to know what is going on behind the scenes here...
What I have is a php page with an HTML form, the submission of which goes to the same page. I'm using a hidden variable and md5 hash to execute different scripts based on what is in the $_POST variables. My question is in regards to how fast I can hit "Submit" on the form and actually have it pass information via POST. I'm dumping the POST variables to the page each load so I can see what is in it, and it is blank every time if I don't wait for about 10 seconds after the page loads to hit submit. Is this an intentional limit? If so, can it be configured somewhere? Here is a simplified version of what I am doing, confirmed that it is exhibiting the same behavior: Code: <?php print_r($_POST); echo "<br />"; ?> <form action="http://localhost/cases/concept.php" method="post"> <p> <table> <tr><td><label for="field1">Field 1: </label></td><td><input type="text" name="field1"></td></tr> <tr><td><label for="field2">Field 2: </label></td><td><input type="text" name="field2"></td></tr> <tr><td><label for="field3">Field 3: </label></td><td><input type="text" name="field3"></td></tr> <tr><td><label for="field4">Field 4: </label></td><td><input type="text" name="field4"></td></tr> </table> <input type="hidden" name="function" value="newfield"> <input type="hidden" name="token" value="md5"> <input type="submit" value="Submit"> <input type="reset"> </p> </form> I am using Apache 2.2.11 running under xampp. EDIT: Turns out this is an issue with IE, Firefox does not exhibit the same behavior... I will pursue the issue along that line now. Similar TutorialsHello all mates! I am working with my forum trying to properly edit the html for the posts so that they will display any custom script/html of my choice. I want this to appear in ONLY the first post in every thread. I am also trying to find out how to make a bot that automatically posts another second post in every thread, with my own custom scripts/html. At the moment I am trying to add some adsense ads this way. What I am looking for is two things: 1 - How to get the adsense ad aligned to either right or left of the text within the first post. 2 - How to get an adsense bot autopost an ad as post number 2 in any thread (including being applied to all threads already existing) I am using IPB3. I previously used Adsense Bot for IPB2, and that worked fine, but it is not supported for IPB3. It uses the Universal Mod Installer, and in IPB3 there is a new "hook" feature to ass custom mods etc, but I do not know how to alter the code for the Adsense Bot to work with IPB3 so I am trying to get it done from scratch by adding codes directly into the templates. If anyone know how to configure / modify the old Adsense Bot to work with IPB3 that would be great of course, so I am attaching it here just in case someone wants to take a look at it and its documentation and scripts. But primarily I am looking for the two mentioned features, one is how to get the script running in ONLY the first post of every thread - at the moment I got it running, but it is global and implements into all posts not only the first. I also have figured out how to make a script appear, such as an ad, between posts, but not after ONLY the first post, nor how to make a bot that posts a post just like any member, which is what I am really looking for when it comes to that part. This is the code I have entered into the topicViewTemplate in Topic View: Code: {parse template="aip" group="topic" params="$post"} <div style="display:block;float:right;margin: 0px 10px 0px 0px;"> <script type="text/javascript"><!-- google_ad_client = "pub-3737464431076938"; /* forum posts large recnt */ google_ad_slot = "6548059149"; google_ad_width = 336; google_ad_height = 280; //--> </script> <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"> </script> </div> This works perfectly for adding my desired custom script embedded within the posts. The problem is that it gets embedded in ALL posts and not only the first as I would want. Here is a link to my forum for an example on how it looks: http://www.conspiraciesforums.com/fo...ic/3-atlantis/ I know I have to edit/add some code regarding post counts etc to configure it to only affect the first post - my question is how to do that? And as seen, the second post shows the ad as well, here I would want a bot to post a post containing another ad - between the first and third post of every thread (which will be standard members posts). I have messed my brain with this for more than a week now trying different things, looking around at forums, googling, trying scripts and so on, mods etc, but as of yet have not found the solution to these things for IPB3. Any help here would be extremely greatly appreciated and I'll buy you a beer if you're ever around my part of the world! :p Thanks and bless you! -M Is there an upper limit on the number of files that can be uploaded into a single website folder? I highly doubt I'll ever have to worry about that, just curious. I remember from DOS days, and early Windows, that there was an upper limit on the number of files one could place into certain directories (a bit over five hundred for the root directory, if memory serves right). Was wondering if there is a similar problem with web folders. How can I limit the number of characters that will be shown from a field of a DDBB on a td ? Thanks, Ignacio Francisco Penin Not sure if this is possible or not, but I created a scroll box, which contains a title and then text underneath it. Is there a way to limit the scrollable area, so the title is always fixed at the top of the scroll box and the text scrolls up and disappears just below the title? If its not possible in HTML/CSS, then how else can I do this? Thanks for your help in advance. hi My code is- <HTML> <HEAD></HEAD> <BODY> <TABLE> <TR><TD> <SELECT NAME="Date"> <OPTION>1</OPTION> <OPTION>2</OPTION> : : <OPTION>30</OPTION> <OPTION>31</OPTION> </TD></TR> </TABLE> </BODY> </HTML> it will show the numbers from 1 to 31 in the drop down with long scrollbar. My problem is - I want show only 10 numbers.User need to scroll and select other numbers. Is it possible? I want to limit image uploading size. For example i want to set my image size max. 50kb . Is there any way to limit the selection form a multiple select box to a certain number. <select multiple="multiple" size="5"> <option>Beer</option> <option>Vodka</option> <option>Guinness</option> <option>Sambuca</option> </select> How can I stop people selecting more than 2 options? Cheers in advance for the help. I want people to be able to upload some large image files (>5M each) to my site using an upload form - the usual <input type="file" name="file" size="30" /> <input value="Upload" style="width: 60px" title="blah blah" type="submit" /> The first time someone tried it they said they couldn't upload their file. I then experimented and found that I couldn't upload files of more than about 2M size (2M worked, 2.5M and higher didn't work). Theserver seemed to give up after awhile and print out the error message that I put in for instances when the file didn't successfully upload. Is there a size limit for files uploaded through HTML forms? If so, is there a way to increase this limit via the HTML script, or something else? OK I am reposting this cause I am having major issues...I would like to make it that for the purpose of ONLY A Halloween Page-that when the user of my website clicks ANYWHERE on my webpage it makes a scream noise...I have tried Google and keep finding where they must click a link or hover over a small box...I want it to be where they must CLICK anywhere... on my previous post-someone posted A Flash alternative-which after messing with for 2 hours-i could not figure out... Please tell me that when i use any unordered list in html page so it shows me bullets but I need that the content after list should be little bit away from bullet so that I used to make some distance between bullets & contents but when content is more than one line then it shows me all line content except first line content of that list. so please tell me that is there margin setting so that when I will set the margin then the content of every line of the list will look at certain distance. I'm working on a website for a organization I belong to. It's quite simple - a few html pages with posts handled by perl. I'm writing a registration script for them, and need to do the following: Currently when registration is confirmed, they write to their userdatabase and email out a confirmation. But payment is all handled via paypal. They've been relying on users to click a link at the bottom to go to paypal to conduct the transaction, but users can be not-so-smart sometimes. Many have thought that payment was taken care of, and they didn't need to worry about it, and hence, we've been getting a lot of non-payment. I'd like to, after the confirmation where databases are written, etc., just have something like a meta refresh at the top of the page that will redirect them to paypal. But, paypal accepts its info via a post. How does one do such a refresh with a post command in it? Or is there another way? Hi everyone, I'm having this really weird problem with a form I'm using. I am creating a banner module which allows users to upload banner code via an html form, one of the fields is for the code itself wich may be html based eg.<img src="ectectect" /> or javascript like <script language="javascript" src="ad.aspx?pid=17987&bid=4939"></script> The problem is this when i put any form of javascript into the textarea even just <script></script> tags and post the form the content in the input containing the javascript is always empty. This is my form tag: Code: <form action="" method="post" name="update"> Any ideas why this is happening? hello, I am having a problem with some rollover graphics... the file works fine when I view on my local system, but once I upload to the server, the rollovers dont work anymore? I have no idea why... here is a link to the page: http://www.tryfluid.com/keepit/index.html I created the main navigation panel in fireworks. I then cut and paste the info into my site. Here is a link to the actual file that fireworks created: http://www.tryfluid.com/keepit/ARTheader_noSlice.html I am very new to fireworks, I used to use Imageready but recently upgraded to CS4 and Imageready has been discontinued. I can't figure out why the rollovers don't work once I upload the files... any help would be greatly appreciated... Thanks! Allen So my post got deleted.... If you post something not up to standards do they just take it off? Im guessing this one lasts 2 minutes Hello, I've got a few questions to do with CSS, now I use it in my code!: 1. Is it ok to use minus in your margins? margin-top:-10px; 2. If not, then how do you keep your things on the same line? Please help! Thanks, ToshNeox Hello , I am using 2 frames in my page of html [ main page : index.php , frames : menu.php and detail.php] When I Click on menu i need to pass its value to detail.php frame.But currently it is not passing any value. In menu.php i have used form with name [addblock] Following Code (Java Script) Code: function resubmit() document.addblock.action="index.php"; document.addblock.submit(); I am little confuse how to get value from one frame to other, Is their ant problem in javascript code Thankyou Well I've been using Wordpress for quite some time now... but I've come across a doozy this time and can't seem to figure it out. When viewing the post with firebug it says that "strong" tags were used throughout the post to make the thing bold... however in the actual wordpress content editor I only used the strong tag on a few words here and there. I've checked for open tags, haven't found any.... and yes I'm using the HTML editor on Wordpress, not the visual editor. The link is: http://www.pzfantasyfootball.com/blog/ Here is how the post appears in the Wordpress editor: Code: Well recently I've joined a Dynasty League started by one of the most beloved Dolphins fans known to man, <a href="http://www.phinfever.com/forums/viewtopic.php?f=1&t=40457">Tom "T-Rock" Eddie</a>. Unfortunately Tom passed away in the summer of 2008... but his memories and his influence on the Dolphins fan base still live on. I was proud to join the dynasty league, but I must say, it's been a completely different experience for me from a fantasy football perspective. <p />It seems the first line of business in a Dynasty Leagues offseason is to find replacement owners. As you may or may not know, you're supposed to try and retain the same owners year in and year out so that their teams can develop... like a real NFL Dynasty. However, for many reasons, this doesn't always happen. This league was missing roughly 4 owners, but fill ins were found quick... this is a very popular league for the name alone. After we found the owners, it was time to figure out what to do with the teams. In this case, the teams were very lopsided, so we took all of the players and all of the draft picks from the teams who were replaced, and we threw them into a draft for those 4 owners only. <!--more--> <p /><strong>The Re-Draft</strong> The rules were simple, the 4 owners who threw players in would all do a re-draft from a pool of those players to even out the teams. Trades outside of those 4 teams <strong>were</strong> allowed so anyone could get in the pool to snag some hot new talent to bolster their team. It was a tricky concept to grasp at first, but once it got going, my trade sensors went off! Since I was the first new team to join the squad I got to choose my draft position... I chose 4 out of 4 in a snake draft in order to immediately get back to back picks and to see what everyone would go after. <p /><em>Some would question the decision not to take the #1 pick because Adrian Peterson was available... but I'm trying to build a whole team here while the majority of the league already had a set team, so it seemed wise to me to wait a little while and possibly snag 2 immediate starters in a row instead of 1 then waiting for the pool to drain out 6 more guys before I got to choose again. </em> <p />Ok, 3 picks go by and of course, there go 3 RB's. I'm now looking at a somewhat talented pool of RB's left... or Drew Brees... the best fantasy QB on the market. Since I have back to back picks I have a little leniency here so I go with Brees. Ok, now my 2nd pick. *DING DING* The trade bell goes off. The owner of the Grim Reefers is a huge Rams fan and can't help but snag this pick to take Steven Jackson. In return, I get RB Brandon Jacobs and WR Roy Williams. This would be the first of many many trades I made with this team. I'm extremely excited now... I've had 2 picks and ended up with 3 starters... what more could I ask for? <p />It'd be a few long weeks before the re-draft was finally over. I was probably the hottest trader out of the redraft teams and was happy with how my final re-draft roster came about. I managed to snag Ladainian Tomlinson in like round 6 or 7 which I considered a huge steal and I know I had some more solid picks which seem to be slipping my mind right now as I write this at work... Eventually I started I forfeited the rest of my picks as the pickings were slim and I wanted to get the redraft over with. <p /> I think the biggest difference of the draft that really had me somewhat shocked, is the stock put into young players. No joke, you'll see young guys who haven't proven anything but the ability to play the bench, go way ahead of perennial pro bowlers. I didn't take that strategy as far as some did... many teams took guys who literally have a very slim chance to play at all, just because they were young and they have the "potential" to play. I tried to keep it young, but I also tried not to reach on anyone just because they were a few years younger. One guy I did snag, that I'm actually especially excited about, is Jets LB Vernon Gholston. The kid seems to be headed for a career as a pass rushing specialist and if it works out well, I could be the proud owner of a 15-20 sack LB on my roster. Yay!!! <p />Well, anyways, I'll try to get my roster up on here when I get home. We have the rookie fantasy draft coming up next weekend and I haven't done much homework for it yet... YIKES!! One word of advice I have for you avid fantasy players is, join at least 1 dynasty league. It's a whole new experience that you'll probably thoroughly enjoy. <p /><em><strong>*Warning - They're not made for the average fantasy player. </strong></em> <p /><strong>Edited on May 16, 2009 at 12:37AM</strong> Ok guys and gals... here is my roster after the re-draft and before the rookie draft. <p /><strong><em>Quarterbacks</em></strong> <ol> <li>Drew Brees*</li> <li>Carson Palmer</li> <li>Kellen Clemens</li> <li>Damon Huard</li> </ol> <p /><strong><em>Runningbacks</em></strong> <ol> <li>Brandon Jacobs*</li> <li>Ladainian Tomlinson*</li> <li>Ahmad Bradshaw</li> <li>Ray Rice</li> <li>Darren Sproles</li> <li>Brian Leonard</li> <li>JJ Arrington</li> <li>Brian Calhoun - <em>FA</em></li> <li>Chris Perry - <em>FA</em></li> </ol> <p /><strong><em>Wide Receivers</em></strong> <ol> <li>Roy Williams*</li> <li>Dwayne Bowe*</li> <li>Anthony Gonzalez*</li> <li>Reggie Brown</li> <li>Michael Clayton</li> <li>Rashied Davis</li> <li>Joey Galloway</li> <li>Brandon Lloyd</li> <li>Kevin Curtis</li> <li>Chansi Stuckey</li> <li>Sinorice Moss</li> <li>Reggie Williams - <em>FA</em></li> </ol> <p /><strong><em>Tight Ends</em></strong> <ol> <li>Tony Scheffler*</li> <li>Visanthe Shiancoe</li> <li>Martellus Bennett</li> </ol> <p /><strong><em>Defensive Lineman</em></strong> <ol> <li>John Abraham*</li> <li>Derrick Burgess*</li> <li>Jason Taylor</li> <li>Aaron Kampman</li> </ol> <p /><strong><em>Linebackers</em></strong> <ol> <li>James Farrior*</li> <li>Keith Brooking*</li> <li>Vernon Gholston</li> <li>DJ Williams</li> <li>Freddie Keiaho</li> <li>Will Witherspoon</li> </ol> <p /><strong><em>Defensive Backs</em></strong> <ol> <li>Darrelle Revis*</li> <li>Adrian Wilson*</li> <li>Bob Sanders</li> <li>Champ Bailey</li> <li>Kelvin Hayden</li> <li>Aqib Talib</li> <li>Dwight Lowery</li> </ol> <p />Now I tried to list the players in order of likeliness to start at their position. The starred (*) players are who I project to be starting at the position come the start of the season... but anything can change. I'm looking pretty smart for that Jason Taylor pickup now that the Dolphins have resigned him too. I tried to mark who I could remember are still Free Agents in the NFL... I'm hoping those players find a team soon... else they could be cut to make room for the rookies. <p />Speaking of which, I really gotta start looking into the rooks... the draft is in less than a week and I'm clueless!!! Catch ya later! I'm trying to make a form that a person can fill out. When they click submit, it will send what they wrote to me in a e-mail. This is what I have: Code: <form action = "MAILTO:E-mail" method = "post" enctype = "text/plain"> alkdsjflasj alsdjflasdjf a;lkdfalsdj </form> <input type = "submit"> What I dont like that this does, is it opens the microsoft outlook express. I want it to send me the form information without opening outlook express. I would like it to send the form to my e-mail, and also redirect them to a different page. How can I send a post in HTML like this: GET URL HTTP/1.1 Host: host Content-Type: application/atom+xml Authorization: Login auth=<Auth token> Hi there! I've been googleing for this for a while now, but I couldn't find any solution. My problem is simple. I want my forms to be in a way that browsers 'know' that the data being typed into the form is to be sent with the Unicode UTF-8 encoding. So that every data POSTed back to my server is encoded using UTF-8. How can I do that? Thanks in advance, AvoC. |