post

Google Web Toolkit (gwt) - how does the post token is generated?

Hi, I am having a request like: 5|0|7|http://localhost:8080/testproject/|29F4EA1240F157649C12466F01F46F60|com.test.client.GreetingService|greetServer|java.lang.String|myInput1|myInput2|1|2|3|4|2|5|5|6|7| I would like to know how the gwt generates the md5 value of "29F4EA1240F157649C12466F01F46F60"? is it based on the client ip and da...

Back button re-submit form data ($_POST)

My problem is that the back button causes the browser to say something like "Page expired" when the previous page was created by a form. Example: page1: form submitted with search criterias ($_POST request, form points to page2) page2: Receives $_POST request and show result (list of user with links, points to page3) page3: Show user ...

How to make my code more secure

Hello, I've made a voting on comments like the one this website has(something similar), and I'm slightly concerned about possible http request misuse. You'll know what I mean after I show you the questionable code: $.ajax({ type: 'POST', url: 'http://localhost/comments/vote_down/' + post_id }); Now its still on localhost but it wi...

jQuery / AJAX / PHP form "working" but not delivering emails

It's not a problem with my host or the email account it's supposed to be delivered to: these things I've narrowed down. The form worked perfectly for one day and then stopped, without any changes to my code. Does anybody have any input on this? My code: Plug-In: http://www.stephaniehenderson.com/jquery.form.js In the head: <script ty...

C# HTTP POST Method - Cookies issue

Hello, I'm trying to use C# to login to hotfile.com. The first big issue was to overcome the 417 Error, which this line solved it: System.Net.ServicePointManager.Expect100Continue = false; Now I'm getting this error as I try to login using POST: You don't seem to accept cookies. Cookies are required in order to log in. Help I've...

How to syn form action in Facebook iframe canvas?

When I submit a form using method "POST" and full canvas callback Url action inside Facebook iframe canvas, I cannot get the form elements in the request. Can anyone give me some help on this? page code: <form action="http://apps.facebook.com/myapp" method="post" target="_top"> <input type="hidden" name="myvar" value="v" /> <input typ...

Blog post comment without page refresh (ajax)

Hello everybody, I'm trying to make comments on my page just like the ones in wordpress. When you press post comments your page updates without reload. How can I do that? I understand I have to use jquery post, and I've had several attempts but for some reason my web page keeps reloading. I have a form like this : <form name="postForm...

Django request.POST does not contain the name of the button that submitted the form

I have a django form with two different submit buttons, on the view where the form is submitted to I need to know what submit button was pressed and take different actions accordingly. From what I have read the submit button's name or id should be somewhere in the request.POST dictionary, but it not there! This is a fragment of my fo...

Assigning "HTML Select Control" Values in PageLoad() Event.

I want to Use only the HTML Controls on my page. For that i want to use some text boxes and a HTML select(List box) and a Submit button for Post Event. The Code is as follows: <script type="text/javascript"> function dropdown(mySel) { var myWin, myVal; myVal = mySel.options[mySel.selectedIndex].value; if (my...

Progress icon while POST request is processing

There are next initial conditions: Backend: servlet for file uploading; UI: form, that submits servlet for file upload: <iframe id="uploadFrame" name="uploadFrame"></iframe> <form enctype="multipart/form-data" method="post" target="uploadFrame" action="<%= request.getContextPath() %>/uploadFile? portletId=${portletId}&rem...

Check post variable in asp.net

I am using C# with ASP.NET. How do i check if a variable has been received as a POST variable? The requirements is i must do different actions based on POST and GET. What if i have a variable name in both get and post, how do i check them both? ...

Why is a html form post to a restlet resource not working?

Restlet's (2.0M6 on Google App Engine) annotations are actually sensible to the order of a resource's methods. When posting html form data, make sure that the @Post("html") method stays above the @Post("xml") method in the receiving resource. At least Firefox puts both content types into the request's Accept header, so the first matchin...

Best Method/App for batch posting xml data to a php script

Hi, i've got a website that receives Posted XML data from a third party. I'm looking for a method so I can batch post a number of XML files to this script for development/debugging purposes. I have built a php script that loops through an array of files and uses curl to post each file separately. However due to the number of files i wi...

JavaScript injected form field does not appear in POST data

hey guys. I have a form that generates new input fields via JavaScript on click. the inputs are successfully added to the FORM with the desired naming convention. <input type="text" name="util_name0" id="util_name0" value="" /><br/> <input type="button" onClick="newUtil(this)" value="Add New" /> newUtil() adds: <input type="text" nam...

POST File Stream octet-stream

Can I pass "application/octet-stream" or say a word document as stream or binary via POST (http protocol) ? (yes/no)? ...

Different number of posts (WordPress)

We have selected to show 5 posts per page in admin panel. And we want to show 10 posts per page in specific category (for example, "projects" width id=2). How would we do it? ...

Why can't I generate Excel file through cURL/PHP?

Hi there, I'm trying to use a post form to generate an excel file after choosing which data to grab from a MySQL database. I'm using cURL because I essentially want to double-post: first to save any settings of which fields are being used, and second to generate the Excel file, all with one button. I have a PHP page set up with the cor...

ASP.NET MVC - Post works on dev machine, but not on live

I have an edit page I want to use to allow editing of user details. When I update some user details and post on my dev machine it works as expected, details are saved to the DB and I am re-directed to the details page which displays the updated information. When I publish the site to the live server and perform the same actions it basi...

Not able to retrieve $_POST values

I have order a plugin which works fine on my local computer and on the developers test server. But the plugin is not working on my prod. server. After registretion, I should get $_GET = add_success. But I'm getting edit_success. In the code, they are cheking different $_POST values, one of them being 'mode'. Trying to output $_POST["mo...

php cURL , POST and redirect client , proxy/bridge

I'm trying to make a php cURL script that should act like a bridge/proxy (like "man in the middle" but nothing hacking ), make a POST to a url (example.com) and redirect the client to that link after it gets the response . I'm not sure if it's possible so please advise. Basically the client will pass 2 values through our site (e.g exam...