Hi guys,
I have a very strange problem with JQuery $.post()
I have implemented it in my new web application and get messed response from QA after testing, some say it is working perfectly and some say it is not working;
It generate no error and no warning,,, but i am very upset i have almost compeleted the application and it is impossibl...
Hello,
I built a Facebook app which allows users to post some news to their news feed from my website. I use Facebook Connect and the Facebook JS library.
When a friend of mine (Facebook friend) posts something to his news feed from my website using my Facebook app, I don't see it in my news feed. His other friends see it. Is it becaus...
Trying to set my out of office on with a new reply message on Exchange 2003....
Here's my code:
NSString *tempbaseurl = @"https://webmail.server.com/exchange/mailbox/";
NSURL *url = [NSURL URLWithString:tempbaseurl];
NSMutableURLRequest *req = [NSMutableURLRequest requestWithURL:url];
NSString *sMessage = @"I am currently out of the...
In my database connection include I use the code
foreach ($_POST as $key => $value) {
$_POST[$key] = mysql_real_escape_string($value);
}
foreach ($_GET as $key => $value) {
$_GET[$key] = mysql_real_escape_string($value);
}
This runs fine on my linux testing server (Cent OS 5.5) however, when it is transferred to the productio...
Just like you would with a regular form using XHTML... can someone give me an example of sending a POST or GET request using PHP?
Like game.php?user=Dan&lvl=43&coins=54
and then the game.php page would do it's magic with the $_GET tag and do Mysql stuff. :P
Thanks,
...
I have a question about $.post() in jQuery. the general syntax is :
jQuery.post( url, [ data ], [ success(data, textStatus, XMLHttpRequest) ], [ dataType ] );
I'd be grateful if someone could shed light on what exactly data,textStatus are along with an example if possible
Thanks!
...
Is there a test site that allows me to feed in a URL and data that I want to be POSTed to that URL? I am testing a form submission thru curl in php and it doesn't seem to be working.
...
Hi,
I'm trying to post some information from a from do so some calculations, however for some reason that data isn't posting. I do a var_dump after I get the info, and it still is blank. Any help would be great.
My Controller:
<?php
class Timevalueshow extends Controller{
function index(){
$this->load->view('Timevaluesho...
First, I've only programmed a lot of HTML, know a little PHP and am playing with Wordpress, experimenting and learning it the way I learn everything else, trial and error, heavy on the error.
The subject line isn't very clear I'm sure. I have a site set up for writing. The posts act as categories and to a Page menu for static submission...
What is the point of doing this?
I want a reason why it's a good idea to send a person back to where they came from if the referrer is outside of the domain. I want to know why a handful of websites out there insist that this is good practice. It's easily exploitable, easily bypassed by anyone who's logging in with malicious intent, an...
I'm having problems with posting a multidimensional array with file uploads using PHP and CURL.
The multidimensional array is for example:
$post['question'] = 'Are you human?';
$post['answers'] = array('yes', 'no', 'maybe');
$post['file'] = '@/path/to/file';
// Output:
Array(
'question' => Are you human?,
'answers' => Array(
...
Hi, is it possible to query a website's api from an android app? If so, how to do you handle the return if it's in xml?
Thanks
...
Hello,
I am using FB.api OpenGraph to post a message on the user's wall. I would like the link target to be equal to '_blank' so it opens in a new tab. Is it possible ? The Facebook documentation doesn't give much details.
var params = {};
params['message'] = 'message';
params['name'] = 'name';
params['link'] = 'http://link';
...
Hello,I am a Android learner.I meet a problem recently.
1.I want obtain the post data with WebView.The wbatail.html form use this
<form name="accountsave" method="post" action="load_ok.jsp">
<input name="moneyCounter" format="*M" maxlength="12" emptyok="true" size="12"/><br/>
<input name="passWord" type="password" maxlength="12" format...
I am trying to post some HTML information to a url using the ajax post command
var html = "<b>bold</b>";
$.ajax({
type: "POST",
url: "/DragDrop/GetData/" + id + "?html=" + html,
data: "{}",
contentType: "application/json; charset=utf-8",
dataType: "json",
success: function (msg) {
}
});
But of course you c...
Hi. I have a url that look like this reg.php?lang=no_NO&passkey=testand im trying to get the passkey variable, but it keeps showing up blank.
When I try print_r($_GET); it prints Array ( ) ?! How can this happen?
The site look something like this
<?php
print_r($_GET);
include('..\libs\Smarty.class.php');
?...
How do I make a remote POST request with custom parameters with a link_to helper in rails 3?
I tried something like this:
link_to 'Submit', model_path, :query => "value", :remote => true, :method => :post
The POST works and the control comes to the action in the controller, but I don't get the POST parameters in params or anywhere el...
For some reason my checkbox array values don't show up in $_POST.
For example:
<form method="post" action="">
<input type="checkbox" name="cb[]" value="1">
<input type="checkbox" name="cb[]" checked="checked" value="2">
<input type="checkbox" name="cb[]" value="3">
<input type="checkbox" name="cb[]" checked="checked" va...
Hi,
is it possible to say "Allow only 2 posts at the same time" in jquery?
kind regards
Peter
...
I'm trying to get the option item selected in a form select element using Codeigniter...
I have a controller named results with this code in it
...
`//get form data
if($_SERVER['REQUEST_METHOD'] == "POST"){
$data['searchdata'] = array(
"ionum" => $this->input->post('ionum'),
"thisdb" => $this->input->post('thisdb')
...