I have the simplest of forms written using classic ASP:
<html>
<head><title>Test</title>
</head>
<body>
<form action="testpost.asp" method="post">
Say something: <input type="text" name="something" id="something" />
<input type="submit" value="Submit" />
</form>
<% Response.Write(Request.Form)
Response.Write("hello")
%>
</body>
</html>...
Basicaly the title say's it all. i had an hidden input on my page where i wanted to set the name to "some.major.uber.setting"
for example:
<input type="hidden" name="some.major.uber.setting" value="dummy value" />
and when i looked at the $_POST data it contained "some_major_uber_setting". Can anybody explain this behaviour
...
I'm working on a script right now for a simple shout box. I was using $.get() before without any issues. I then switched over to $.post() so I can pass Cyrillic characters to php.
I switched over everything to post already in both the javascript and php files. Firebug shows that the variables are not empty and being sent and their is ...
How to receive JSON from POST requests in CherryPy?
I've been to this page http://goo.gl/t4hI [docs.cherrypy.org], and though it does a good job explaining the API, its parameters, and what it does; I can't seem to figure out how to use them to parse the incoming JSON into an object.
Here's what I have so far:
import cherrypy
imp...
I am working on a software project and have written a validation system to help prevent theft of the software. I was reading back through the code, and found a huge "loophole" that could potentially allow the motiviated users to copy the program and install it without even contacting the activation server. So, I modified the program and ...
Hello,
I am wondering if it is possible to modify an existing JSON file on my server using the jquery post method. If not, is there any other function/library that people use to achieve this goal?
[
"Soon",
[
{
"body": "",
"when": "lunchtime",
"item_types": [
5
],
"author": 3,
"rev": 1,
"joinin...
I have an AJAX call using jQuery:
$('.add a').click(function() {
$.ajax({
type: 'POST',
url: '/ajax/fos',
context: this,
datatype: 'html',
success: function(data){
$(this).parents('tr').before(data);
}
});
});
Once it runs, it adds a new row to a table. The row is ver...
A webhook is sending me a POST, but i want to do some debugging. currently i'm looping over the array and then sending a mail() to myself instead of printing (because how could i see what's printed to the page?), but I'm betting there's a more efficient way.
Any suggestions?
...
Is there any way to access My Own Browsers (IE8, FF3.6) Session data or POST Method data?
For example when an item is sending using POST method i can change it.
www.example.com/index.php?menuitem=2
change to
www.example.com/index.php?menuitem=3
Is there any script or software to help?
...
hello there - trying to post some data built from some none form elements but can't seem to crack it.
how can i create a an array in the same format as serializeArray() does with form fields?
tried several variations on this but it only picks up the last .active tag?
any help appreciated!
$('li.tag.active').each(function() {
...
I have an HTML order form that collects info and then on submission passes that to a PHP form which sends an email. Then I have the PHP form forwarding to a PHP confirmation page.
I am using the POST method on my HTML form.
I am forwarding to the PHP confirmation page with header() after it sends the email.
Everything is working fine...
<input name="movie" value="1" />
<input name="movie" value="2" />
<input name="movie" value="3" />
<input name="movie" value="4" />
<input name="movie" value="5" />
How do I get values of all these inputs by $_POST?
I can not use an unique name for each <input>.
...
I read a plist data at LightTableViewController.m
and I load a data like this :
LOG RESULT:
The Plist Data Is : (
{
category = 11;
id = 1;
name = "LIVING RM";
status = 0;
},
{
category = 11;
id = 2;
name = "BEDROOM RM";
status = 0;
}
)
I ne...
Hi all,
I'm trying to write up a function which will post data (and append the results inside a div) when you click on the div. I've got it so it will alert the data, but for some reason I can't get it to append the data back inside the clicked div?
The clickable div:
<div class="qaContainer">
<h2>testing title</h2>
<input type="h...
I'm working on building a gift catalog for my organization, and need to show an update on screen if someone has added an item to their cart.
When someone is browsing the catalog, they start on PAGE A, then choose an item and go to PAGE B to choose quantity, and add to cart. When they add to the cart, a jquery event .click() sends the us...
I have a custom post type with multiple taxonomy types. The issue is focused around just one of them.
I need to display all custom posts that have a taxonomy from featured-vendors checked. Right now, there is just one "featured" , but there may be more in the future, such as "highlight" or "sponsor" or something alone those lines.
But, f...
One of our most common error situations in a web application is that a user executes a GET request where the form should have submitted a POST.
I realize that the most likely case is that they got to the page (by way of a POST) and then clicked in the address bar and hit enter.
The question is, are there other less obvious ways that t...
Hello,
I'm populating a YUI2 DataTable from a database (in PHP). Now the user should make changes to the DataTable. These changes should be saved to $_POST so they can be saved to the database again.
My problem: The only way to put variables into post seems to be input elements in a form. But the DataTable contains no input elements, i...
hi i am making a form with a confirm page where I would like to display what was input from the form and give the user a chance to check it before sending it in.
I have successfully done this by saving the form elements in the session:
$this->Session->write('Visitor.confirm', $this->data);
and get it by:
<? $fields = $this->Sess...
Hi everyone, I'm having trouble posting form data via CURL to a receiving PHP script located on a different host.
I get an Array to string conversion error
This is print_r of the array I'm posting:
Array
(
[name] => Array
(
[0] => Jason
[1] => Mary
[2] => Lucy
)
[id] => 12
[status] => local
...