post

jQuery regular post WITHOUT Ajax

Hi everybody, I thought this would be quite simple but the documentation doesn't point me to any solution. I am working on an editor. While i am using $.ajax for saving multiple forms at once i would like to perform the same post but with a complete page reload. how can i achieve that? Trigger Preview BTN -> Collect Forms -> Regular pos...

php.ini problems? Increasing post_max_size and upload_max_filesize causes php to ignore POSTs?

I have this weird problem. Whenever i try to increase the post_max_size & upload_max_filesize to 2500M, my website seems to hang on me. Pages will continue to load, but any attempt to login or submit forms will not work. It simply ignores the POST as if it never was sent. But, when i change post_max_size & upload_max_filesize back to 2...

Cant Post JSON Object using Jquery.post()

I have the following object that gets created in my javascript application. poll_data[active_question] = { 'question': $('div.question_wrap textarea').attr('value'), 'answers': [ $('div.answer_wrap input#0').attr('value'), $('div.answer_wrap input#1').attr('value'), $('div.answer_...

Using same php file to show form and receive the form's data

I have a php page that generates a form. The action attribute of the form is the page itself. After the user submits the form, the same page is loaded, but this time a POST variable is set, so the page runs another script to deal with the incoming data from the form. I do this by using a conditional fork: if(isset($_POST['var'])){ g...

Encrypting HTTP POST data

Hi, I have a HTTP POST string that I am running from a client cpp program against a server running Apache. Following is the POST string that would get fired from the clients: "POST %s HTTP/1.0\r\n" "Host: %s\r\n" "Content-type: multipart/form-data\r\n" "Content-length: %d\r\n\r\n" "Content-Disposition: %s; filename: %s\n" It would b...

C#: POST request with BASIC authentication mixes QUERY_STRING and REQUEST_METHOD in PHP?

Hi, I have a problem with sending a POST request from C# to a PHP script on my Apache (Windows) server. Everything works fine, unless I instruct Apache to require a valid user using BASIC authentication through a .htaccess file. But let's put things in order. I'm using the following code to send a list of key/value pairs to my PHP scri...

jQuery post to asp.net page error : The length of the query string for this request exceeds the configured maxQueryStringLength value.

I am trying to do a jQuery post the content of a text editor to an asp.net page (asp.net 4.0) from my javascript.The asp.net page will receive it and save it to db.I append the text editor's content in the querystring.When the content is big, I am getting the following exception The length of the query string for this request exceeds th...

Is http POSTing a file across a network much less efficient than copying?

We're developing a windows service which will act as a sort of 'slave' process. This process basically downloads a pdf, splits it into several pdfs then needs to send that pdf back. We're currently using a http request to retrieve the pdf and a number of POSTs to send the files back. This is so the slave service can be run from pretty m...

Visual Basic 2010 HTTP POST Request

How can I send a POST HTTP request to a server (in Visual Basic 2010) and then receive the reply into a string. ...

Wordpress post query not adding <!--more-->

I'm trying to have a post from a certain category display on my static homepage. I seem to everything working just how I'd like with one exception. I'd like the post to included the standard Continue reading (<!--more-->) link, but I can't seem to get it to work on my homepage instead all the post's content is displayed. Here's the co...

Http post request not being noticed on MVC ASP.NET Deployment

Hi, I have two an action method - > RoleURLManagement which differs with its input parameter in the get compared to the post so we have [AcceptVerbs(HttpVerbs.Get)] public ActionResult RoleURLManagement(string id) { } and [AcceptVerbs(HttpVerbs.Post)] public ActionResult RoleURLManagement(aspnet_Roles r...

Accepting a HTTP Post request in Azure

Hi If in Azure I wanted to write an application that accepted an XML file via HTTP Post, should I use WCF or just create a asp.net (web role) to accept the input? Thanks Steve ...

jQuery AJAX post with fileupload

I have a functional page posting data to a Page WebMethod [WebMethod()] public static string sayHello(string pTest, string pText) { return pTest + " - " + pText; } which I call using this jQuery $(document).ready(function () { $("#sayHelloButton").click(function (event) { var name = $('#name').val(); var text = $('#text')...

Can I assign any post into specific pages?

I need to use Wordpress Blog as my webpage. And I need to assign any post into page such as... I have three pages like Page -> Dog, Cat, Bird And I need to post A to page Bird B to page Bird C to page Cat D to page Dog E to page Cat And post A, B, C is in same category. Something like this. I try to create new page but it can...

How to send xml or image data from iphone to a rails 3 server ?

Hi guys, I am developing a hybrid app (rails 3 + iPhone) and I want to send a number of large strings and images to a rails 3 server. I want to do a POST method from iPhone. Can someone help me on how to do this ? since in this case there will be no form in the views how should I accept the data ? Thanks in advance ...

Obtaining the form data, the user input in a simple web form using Squid proxy

Hi, There is a web application server. I need to inspect the content of a form before it is processed on the server. I need to obtain the user's response using Squid Proxy server. Out of the box Squid does not supply access to the POST, PUT or GET of the response, only the GET request. I need the setup in which Squid can get this...

Keeping cookie on the iPhone after login via HTTP POST- mixing C++ and Objective C

Hi All I have been working using openFrameworks, on a problem that is posted on the forum: www.openframeworks.cc/forum/viewtopic.php?f=8&t=4765 Essentially, I have used an an set of files, ofxHttpUtils, which uses poco to post to web forms. The example code I have used is at: github.com/arturoc/ofxHttpUtils/blob/gh-pages/example/src/te...

Is it really possible to POST files with python ?

So I'm struggling with this for a second day in a row and still nothing. Found few solutions on the internet but still I'm getting "Internal Server Error" when trying to send files with POST. The idea is as follows : I'm sending a file opened in python's shell to a django function on my server that will read and store the file there. I'v...

PHP Curl upload file through Post Data

How would I go by Submiting a file that in the same directory as this script inside the $data. The below function is what I currently use. If you find any bugs in the current code please tell me as well :) function post_data($site,$data){ $datapost = curl_init(); $headers = array("Expect:"); curl_setopt($datapost, CURLOPT_URL, ...

Submit a form with 2 submit buttons

Hello, a website has 2 textareas and 2 submit-type buttons. Both textareas are simple text <input type=text name=to class="text" value="" maxlength=20>. One button is send button <input type=submit name=s value="Send"> another is erase <input type=submit name=reset value="Erase" onclick="eras=1;"> . Is it somehow possible to replace th...