Can someone tell me why I get the null value for activationLink variable in the following code:
public ActionResult Activate(string activationLink)
{
if(string.IsNullOrEmpty(activationLinkROWGUID)) return View("ActivateClientError");
if (linkROWGUID != Guid.Empty)
{
return new CServerFacadeFactor...
UPDATE:
All the methods given below doesn't
work for:
mysite.com?username=me&action=editpost
but only for:
mysite.com?action=editpost
I know how to detect if a particular GET method is in the url:
$username = $_GET['username'];
if ($username) {
// whatever
}
But how can I detect ...
here is how should my program be. In first frame, there is a textfield1 where a user input text and when he press a button, a new frame will be display with a textfield2 that displays the inputted text from the textfield1. please help me with the syntax. i'm still a beginner in java. much thanks guys.
First Frame:
textfield= new JTex...
I have a class where I'm using __set. Because I don't want it to set just anything, I have an array of approved variables that it checks before it will actually set a class property.
However, on construct, I want the __construct method to set several class properties, some of which are not in the approved list. So when construct happen...
Hello everybody! (hello dr.Nick) :) So I posted a question yesterday about a content loader plugin for jQuery I thought I'd use, but didn't get it to work.
http://stackoverflow.com/questions/2469291/jquery-could-use-a-little-help-with-a-content-loader
Although it works now, I see some disadvantages to it. It requires heaploads of file...
I'm using this code as the starting point to an overhaul of our JavaScript framework:
$("#get").click(function(){
$("#result").html(ajax_load);
$.get(
"http://www.google.com",
{},
function(responseText){
$("#result").html(responseText);
},
"html"
);
});
But when the reque...
Hi,
I have a problem with IE8 and the opening of a new window with javascript and submitting parameters with special characters.
<a href="javascript:oWin('/html/de/4664286/printregistrationcontent.html?12-security question=Wie heißt Ihr Lieblingsrestaurant','PRINT',800,600);" class="print">Seite drucken</a>
The Problem is th...
i have an XMLHttpRequest.The request passes a parameter to my php server code in /var/www. But i cannot seem to be able to extract the parameter back at the server side. below i have pasted both the codes:
javascript:
function getUsers(u)
{
alert(u);//here u is 'http://start.ubuntu.com/9.10'
xmlhttp=new XMLHttpRequest();
var url="h...
in my site i want to set default page to open, using this script
if (!isset($_GET))
{
$_GET['id'] = "home";
}
when i open index.php it must set $_GET['id'] = "home"
but it doesn't work. can somebody explain why?
...
Hi there,
Been struggling with replacing a backslash by another symbol such as '.-.' just to indicate the position of backslashes as I could not send a string such as 'C\xampp\etc.' through url as GET variable so I thought I'd first replace the backslashes in that string by another symbol, then send through url, and then replace them ba...
i want to get the height property of a object:
$('.selector img').each(function(index,e){
thisImage = $('#topContent img').get(index);
}
so long no problem, but then i want to get the height like this:
thisImage.height;
i thought it was equvivilent to:
thisImage.height();
or:
thisImage.css("height");
but neither does w...
i'm attempting to position a textfield to the bottom left of an image that is added to the display list from the Loader() class. i don't know how to access the width/height information of the image.
var dragSprite:Sprite = new Sprite();
this.addChild(dragSprite);
var imageLoader:Loader = new Loader();
imageLoader.load(new URLRequest("...
Hi All,
I am trying to post the value of an input box (In this case a imdb link) to my imdbgrabber.php page and have it return the info of that movie into a qtip box.
EDIT: View here http://movieo.no-ip.org/ Hover the images and you will see the error.
Everything works fine until i try and post the variable to the imdbgrabber page. Th...
I'll get right to the point.
This is what a browser request looks like
GET /index.html HTTP/1.1
This is what winHTTP does
GET http://site.com/index.html HTTP/1.1
Is there any I can get the winHTTP request to be the same format as the regular one?
I'm using VC++ 2008 if it makes any difference
...
Hi ive set up 2 scripts, both communicating back and forth.
One thing id like is for 1 script to post an unknown amount of GETs to the other script.
Id like the other script to some how be able to grab all the GETS and put the values in an array.
...
How can I Get all subdirectories of a given directory (without files and "." or "..")
and then use each directory in a function?
Thanks.
...
I am trying to send over a page number to a page using a html form. The problem is every-time the form is submitted, it overwrites the page GET value, with all the other GET values being sent over from the form.
the form is below
<form action="searchPage.php?page=0" method="get">
<label for="search" id="searchLabel">Search:</label>
<i...
Hi everyone,
I am using a lot of HTTP Requests in an application that I am writing which uses OAuth. Currently, I am sending my GET and POST requests the same way:
HttpConnection connection = (HttpConnection) Connector.open(url
+ connectionParameters);
connection.setRequestMethod(method);
co...
Search for good JAVA lib for playing with POST-GET requests - Is there any such lib or how to play with POST - GETS from pure JAVA? How to create costume headers and so on.
...
I'd like to monitor activity on browsers, creating a list with URLaddress, browser number (if have many opened at the same time) and tab number (if there are more than one tab opened).
How to do it with Qt 4.6?
...