post

How to display records below form on submission in php without the use of database?

How to make the use of hidden variables as array for consecutive submission of data so that they can be used to display the records list. I have a form with 4 text fields and a file upload field.. as i submit he form it should get appended to the list which needs to be displayed below the form, such that these values are NOT stored in t...

HTML Forms - Are name and id required?

Why do I need the name and id attributes for <input> form elements? Which is used for POST data sending and which can I exclude? ...

Parsing a list of dictionaries passed as a POST parameter

I have a list of python dictionaries that look like this: sandwiches = [ {'bread':'wheat', 'topping':'tomatoes', 'meat':'bacon'}, {'bread':'white', 'topping':'peanut butter', 'meat':'bacon'}, {'bread':'sourdough', 'topping':'cheese', 'meat':'bacon'} ] I want to pass this as a POST parameter to another Django app. What doe...

How to grab all variables in a post (PHP)

How to grab all variables in a post (PHP)? I don't want to deal with $_POST['var1']; $_POST['var2']; $_POST['var3']; ... I want to echo all of them in one shot. ...

Send email in wordpress

hi, I'm trying to send an email using PHP mail() in a wordpress site. I created an empty page http://www.exam-vision.com/request-flip-up-instructions which template includes the php code shown below. When I post the data, isset($_REQUEST['email']) is false, while I can in firebug that the data have been posted correctly. What can be wro...

Issue with post data not received in a php page

hi, I created a page in Wordpress (http://www.exam-vision.com/testmail) that sends POST data to itself in order to send an email. The code is shown below. While it seems that data are sent properly, it seems that they are not received since isset($_REQUEST['email']) is always false. Anybody could help? UPDATE: it seems it has something...

Whats the difference between GET and POST encryption?

What is the difference when encrypting GET and POST data? Thx for answer Edit: i need to write it more specific. When https-SSL encrypts both of this methods, what is the difference in way browser does this. Which parts are encrypted and which are not? I somewhere read, that the destination url is not encrypted in POST, is that true? I...

XHR FF POST size limit

Hi, My XHR POST REQUEST is cut off. When I try to reload my page information is missing. Firebugs sends following message: ... Firebug request size limit has been reached by Firebug. ... My question is: What are my options? Would it work if I declare the content.length in the header? I added a line to my apache config file and res...

PHP checking $_POST

I have some form fields that when a form is submitted creates an array within the $_POST, I needing to check the this array has atleast 4 keys, how can I check that? I have no idea ...

XMLHttpRequest POST Data Size

Hi, Is there a size limit to a XHR POST request? I am using the POST method for saving textdata into MySQL using PHP script and the data is cut off. Firebug sends me the following message: ... Firebug request size limit has been reached by Firebug. ... This is my code for sending the data: function makeXHR(recordData) { xmlhttp...

Very strange form behaviour

I can't work this out. One minute it was working fine and now it's not and I can't see what's changed!! My problem is simply submitting a username and password for a login function. The form method is set to "post" but for some reason no data is getting through. If I dump $_REQUEST or $_POST they return empty. I know the form is submitti...

How do I get all of the values from a GWT multiselect ListBox on a post?

I have a multiselect ListBox in a FormPanel in GWT. I have set the name of the listbox to "foo" via ListBox.setName(). When I post the form, I see that all of the selected values get posted, but all are bound to the same name "foo". So I seemingly cannot get each of the posted values (I am using Django/Python server-side to handle the po...

How to inject a javascript function from one page into another

Alright, let me preface this by saying that I have little programming experience, so I apologize if my explanation belies some serious ignorance. I've always wanted to learn certain tricks but I can never find any tutorials. Here's the deal: There's a website that gives you various science questions and grades the input. For each que...

POST an xml API call (for Intuit) using Coldfusion

UPDATE: I managed to get this thing working! Turns out, you NEED to send a secure ticket with the call to get a proper response. I have no idea why it worked in Poster without it. There are a couple other parameters that are required which ColdFusion apparently doesn't send by default. Here is a working call: <!---MyTicketValue is sen...

Passing multiple values with hidden input fields

With a select tag, it is possible to post multiple values using only html by selecting more than one option. ie <select multiple="" ><option value="1"/><option value="2"/><option value="3"/> </select> Is it possible to pass more than one value as one would achieve with the previous example using one or more <input type="hidden"> field...

Tornado handler thinks POST is missing argument when Firebug shows the argument being sent.

I have a simple form using a POST method, consisting of a text box and a file. After hitting submit, I can see the post in Firebug as follows: Parts multipart/form-data posttext Some text image BlahJFIFBlahExifBlahPhotoshopBlahBinaryStuff etc... The Tornado handler that receives it looks like: class NewPostHandler(BaseHand...

Facebook graph api with 'NATIVE' (no PHP) iPhone application

I want to use the Facebook Graph API in a NATIVE iPhone Application. I need help to POST images/message on facebook. I know of these two resources on the net but they do not provide any help with posting on the user's feed. http://www.capturetheconversation.com/technology/iphone-facebook-oauth2-graph-api http://blog.corywiles.com/face...

Http connection timeout on Android not working

I'm writing an application that connects to a webservice and I don't want it to wait too long if it can't get a connection. I therefore set the connectionTimeout of the httpparams. But it doesn't seem to have any effect whatsoever. To test I turn of my WLAN temporarily. The application tries to connect for quite some time (way more than...

C# Get Cookies from server response provided on data POST

Hi! I can't get my head around this (login) problem: 1) I post some data 2) Server reacts and generate response with some cookies in headers (Set-Cookie) 3) I want to store that cookies so I can later use them to generate more requests My C# code looks like this: byte[] buffer = Encoding.ASCII.GetBytes(data_to_post); HttpWebRequest W...

POST data to URL php

Hi, I'm just wondering how I can send POST data to a url in PHP (without a form) I'm going to be using it to send variable to complete and submit a form. Thanks ...