post

iPhone HTTP REST Requests/Responses

Hi All, I am very new to the iPhone SDK and have read many threads on RESTful service integration with the iPhone. However I am none the wiser. Can you help? I have some PHP and a MySQL database string on a server. I POST 3 pieces on information from the iPhone to the PHP which then does some thinking and chatting to the database. It t...

Security error when doing a post from a flash application to an Asp.Net MVC application...

Error #2044: Unhandled securityError:. text=Error #2048: Security sandbox violation: http://mysite.com/Content/MyFlashApp/myflash.swf cannot load data from http://www.mysite.com/Home/SaveData. at Main/encodeAndSave() ...

ASP .Net MVC save and replay post data

Hello, I am trying to figure out how to do the following: 1) After a form is submitted, serialize the raw post data and store it to a database 2) Read the post data from the db and replay it by re-posting it to the same URL To explain my end goal, we have three main envs: dev, acceptance, and production. I would like to be able to m...

Getting a file from an incoming POST HTTPWebRequest

Hi, I am being sent a Http POST request that includes a file. How can I get the file out of the HTTPWebRequest? ...

Stop Post Data From Different Domain PHP

I'm a beginner in PHP. What I'm trying to do is stop Post Data coming from another webpage. The problem I am having is let's say someone copies my form and pastes it in their website. I want to be able to stop that Post Data from running the script on my email form. How can I do this? Let me know if I'm not being clear enough. My PH...

How can I do some server-side processing after a button click and then redirect user to a page and POST variables to that page?

I've got a product page set up where you click a product (radio button) and click checkout with Paypal. What I'd like at this point is to create the purchase in the database (add the table row with purchase details, minus the Paypal receipt id), then send the user to Paypal to pay. When user returns to the site the receipt id will be add...

Can i 'hold' POST data in ASP.NET, so i can verify with Captcha?

I have a complex page with maybe a dozen POST element and a file upload (non ajax ATM). I have a form with a description, if it causes akismet to find it as spam i would like the user to be informed and either hit back on their browser to try again or to hold call POST data so the user can fill in a reCaptcha to bypass the spam marking. ...

What's the best way of displaying fields on screen after a user posts a form, without going back to the db?

I have 3 arrays of data that are used to populate some fields on screen. When a user posts the form (unrelated to the data contained in the arrays) I want to display the array data on screen again, but without retrieving it from the database when the page reloads. What's the best way to temporarily store these values? I was thinking of...

PHP: Retrieving value of checkboxes when name doesn't have array

A form I don't have any control over is POSTing data to my PHP script. The form contains checkboxes along these lines: <input type="checkbox" value="val1" name="option"/> <input type="checkbox" value="val2" name="option"/> If I were to write the code for the form, I'd write name="option[]" instead of name="option". But this is not a c...

What is the proper way to do an http Post from Flash to an Asp.Net MVC Application?

Hi, Here are a few of the things I need to know: What do you put for the URLRequest? It's confusing me a bit since Asp.Net MVC is methods and not pages How do you assign parameters for the POST? How to you execute the URLRequest to complete the Http Post? Any information on how to do a Post from Flash to an Asp.Net MVC Application w...

How do i handle POST->Session->page? ASP.NET

I have the user submit a form and if my spam filter catches it i redirect() the user into a captcha page to make sure it isnt a bot (reCaptcha appears not to be broken yet). My question is how do i handle going back to the original page? I was thinking i could generate a random number (check if there is a current session tag with that ...

Jquery - how to open a window and POST to it? (required for bank processing page - doesn't accept querystring)

Hi there, Is there anyway that i can open a new window in the browser using jquery and post to it. Reason being is my bank requires that i open there payment gateway and pass my values by POST and not GET. I have a bit of workaround at the moment but its not idea.. I used QUERYSTRING to an ASPX page withing some hidden forms and submi...

can i repost or carry POST data (if so, can i do it with redirects?)

I want to redirect the user to another page to fill out a captcha but i would like to keep the post data. When/if the user succeeds i like to add an captchaPass=true and would like access the post data and continue processing. Right now i am using redirects but ATM i am not required to use it. Is it possible to carry the post data? keep...

Formatting php $_POST for document printing

Im trying to make a html form processed in php that outputs to pdf and is print ready. This is what I have: A page requesting the categories to include A page which presents text areas for that categories A page which displays the final result with an option to print and or make a pdf. I can make all the information pass along the p...

Php array post values dificulties

Hello, I cant seem to understand why I cant pass any values with the following code: <div class="menu"> Por favor seleccione os conteúdos: <form name="Categorias" action="Elementos_Descritivos.php" method="post"> <?php $Categorias = array ("Nome", "Data", "Cliente", "Observacoes"); foreach( $Categorias as $key => $value){ echo "<di...

Send XML via HTTP Post to IP:Port

Ok so to start off, I'm not using any sort of web service. Right now I don't know a whole lot about the application receiving the XML other than it receives it. Big help there I know. I didn't write the receiving application but my company doesn't have any useful ways of testing the XML transmission phase. I basically want to send an XM...

Posting Images with a SOAP Web Service (Windows Mobile)

Hey brainiacs, We are developing a Windows Mobile 6 Professional application which captures images and then needs to submit those images to a server (there will be between one and ten images at about 200KB each), along with a bunch of text-based metadata. The organization that runs the environment prefers SOAP to be used for this commun...

How can I post a video, via Facebook's Connect API, to my Facebook profile page?

Hi guys - [I've answered my own question below - The fourth answer. One of the previous answers had a good hint in it - but not enough for the solution]. Has anyone posted a video via the Facebook Connect API to their profile / feed page? Ideally, the video should be queued to the first frame with the superimposed Facebook's blue ri...

$_POST variable

I'm encountering a problem. I'm using Wordpress, but this ain't a Wordpress question. I'm using two forms, on one form I have all the input fields and one hidden input field which I use for checking which form the user has submitted. I have saved its value as 'save'. There is another form which is just for resetting all the options and ...

How do you use POST with jQuery Autocompleter?

jQuery v1.2.6 jQuery.autocompleter plugin v1.1pre (from jQuery's website) I am not able to submit with 'type: "POST"' back to my webservice. I can't get it to be recognized by the autocompleter. Thoughts? This code below works fine, as long as I look for the "q" querystring. But, I would like to use this for more advanced features ...