post

POST request and Node.js without Nerve

Is there any way to accept POST type requests without using Nerve lib in Node.js? ...

Help PHP Login not working correctly?

Ok so I am trying create a login script, here I am using PHP5 and mysqli, I would to ask if you could let me know why it keeps just returning "the error: your username and password does not match any in our db"? when I have created the an account and it clearly does? It's probably something obvious I've missed. Heres the code... //Check...

send post data in jsf

I just cannot figure this out, it looks really simple but I'm relatively new at jsf. Here is the old stuff: Plain old html form tag like this: <form name="someForm" action="somewhere" method="post"> <input name="param1"/> <input name="param2" /> </form That is sending data by post to a location specified in the action attribute...

PHP - post data ends when '&' is in data.

Hi all, im posting data using jquery/ajax and PHP at the backend. Problem being, when I input something like 'Jack & Jill went up the hill' im only recieving 'Jack' when it gets to the backend. I have thrown an error at the frontend before that data is sent which alerts 'Jack & Jill went up the hill'. When I put die(print_r($_POST)); a...

Send POSTs to a PHP script on a server

I have a PHP script on a server <?php // retrieve POST vars $comment = $_POST['comment']; $email = $_POST['email']; // remove trailing whitespace etc $comment = trim($comment); $email = trim($email); // format date accoring to http://www.w3schools.com/php/func_date_date.asp $date_time = date("Y-m-d-H-i-s"); // i.e. 2010-04-15-09-45-2...

$_POST Returns empty for multiple select box

Ok, I am filling up my multiple select box with options from another select box via javascript like so: function addAction() { var actions = document.getElementById("actions"); var action_list = document.getElementById("actions_list"); var opt = document.createElement("option"); for (var i=0; i<action_list.options.length...

PHP doesn't properly URL-decode POST values, or is the bug somewhere else?

I have a PHP website that integrates with PayPal. As part of it's normal operation it sends a POST request to a user defined URL about every transaction (and some other events). It's called IPN for those who know. All was/is working just fine, until we moved to a new hosting provider last week. This naturally resulted in downtime, chang...

Modify POST vars before post, using jQuery

I have a form, and a submit handler in jQuery. When the user submits the form, I want to modify (add) some parameters to the POST request, before it is despatched from the client to the server. i.e. User clicks 'submit' My jQuery submit hander begins execution... I create some new key/value pairs and add them to the POST payload At...

Doing a POST to a Service Operation in ADO.NET data services

Is it possible to POST to a service operation defined in an ADO.NET data service (it is decorated with WebInvoke)? I had no problem calling the service operation as an HTTP GET. However, when I switched to doing a POST, the stack trace consistently comes back with "Parameter cannot be NULL". I am using the jQuery syntax below, and send...

Which CMS do I need? Needs to be easy to post a certain kind of post

Hi, I'm creating a site for a video store and it needs to be CMS. I'm doing this for free so I need to use a free CMS like Wordpress, Drupal or Joomla. Do I need a new CMS, a plugin or some PHP of my own? What I need: User accounts Categories Custom post Here's the site as it stands with WP: http://sundancevideo.ca. Right now an expe...

Post request with WinSock

How can I do a POST (http) request with WinSock/WinSock2 in C language? ...

Using hash to check if page with $_POST values was refreshed

When posting a form to the same PHP page, what is the correct method to find if the page was accidentally refreshed instead of submitted again? Here's what I'm using right now: $tmp = implode('',$_POST); $myHash = md5($tmp); if(isset($_SESSION["myHash"]) && $_SESSION["myHash"] == $myHash) { header("Location: index.php"); // page ...

HTTP POST prarameters order / REST urls

Let's say that I'm uploading a large file via a POST HTTP request. Let's also say that I have another parameter (other than the file) that names the resource which the file is updating. The resource cannot be not part of the URL the way you can do it with REST (e.g. foo.com/bar/123). Let's say this is due to a combination of technical...

Google Analytics cookies

My problem: I erased all cookies from my computer. I sent Post request to the X server log and sent me a "normal" Set-Cookie with its parameters, but then somehow it will send request for Google Analytics (GA), in which the "strange" header (utma, utmac, utmcn ...). This happens when I send request in browser. But when I pass a request t...

Send POST data with FBML on Facebook

I'm new at this, and I can't seem to find the documentation that explains this. But I want to create a Facebook page, where you can send POST data to an external server, preferably with AJAX. Can someone please point me in the right direction, as I'm stumbling blind. ...

PHP: POST Request to ASP.NET website results in 500 server error when html tags included

My situation: I need to send text to an ASP.NET web service using POST. The entire page there is a form: <form name="aspnetForm" method="post" action="Discussion.aspx?classroom=lG39il1cotOAGJwiNvmQlIPfwmjikD%2fAHLhjjGInAZQ%3d&amp;Page=Posts&amp;ID=794239&amp;Sort=&amp;SortOrder=" id="aspnetForm"> So, I figured if I sent a POST request...

Facebook AS3 API publishPost() problem

I'm trying to finish a facebook app using the AS3 API. Im having trouble when using the publishPost (message, attachment, action_links, target_id, uid) function. I can get it to post on the user's wall setting the uid=user.uid BUT I can't make it post on the user's friends wall! Setting the target_id=friend.uid isnt working for me I'...

Post offline notifications from my website

Hi All, I have a website (www.cadi.com.tr in Turkish) and a facebook page for my followers (fans of the website) with about 10000 members. Right now, everyday I log into my facebook account (http://www.facebook.com/#!/pages/CADI/20643040386?ref=ts), then go to my website and "share" new posts to my facebook account. I do not want to go ...

Selected value from drop-down list doesn't post from jquery dialog

I have a jQuery dialog. All of the fields are posting correctly except for the drop-downs, the value is getting passed as null rather than the selected value. <div id="popupCreateCompany" title="Create a new company"> <form> <fieldset> <p> <label for="company_name">Company Name:</label> <%= Html.TextB...

POST serialized JSON object to a Coldfusion remote method instead of using FORM

I have javascript object which consists of complex array of structures with nested structures of other javascript objects created dynamicaly on page etc. long story. I can't use form since my vars would be like 2_34_x_y_foo_bar_235423 due to the nature of UI. When I send that stringified object using GET .ajax request to a remote cfc me...