get

asp.net mvc empty value

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...

Simple PHP GET question

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 ...

I'm having a hard time calling the variable from first frame.

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...

php: avoiding __get in certain circumstances?

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...

jQuery - Creating a dynamic content loader using $.get()

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...

jQuery .get appends an unknown variable to URL

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...

Problem in IE8 with GET Parameters in opening a new windows with javascript.

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&#61;Wie hei&#223;t Ihr Lieblingsrestaurant','PRINT',800,600);" class="print">Seite drucken</a> The Problem is th...

GET and XMLHttpRequest

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...

problem with seting GET value

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? ...

Replacing backslash with another symbol in PHP

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...

can't get height of object in chrome

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...

ActionScript 3.0 Getting Size/Coordinates From Loader Content

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("...

Jquery qtip ajax issue

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...

winHTTP GET request C++

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 ...

Array from Requests

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. ...

PHP Get all subdirectories of a given directory

How can I Get all subdirectories of a given directory (without files and "." or "..") and then use each directory in a function? Thanks. ...

sending over page number in html form

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...

Http Requests POST vs GET

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...

Is there any good JAVA lib for playing with POST-GET requests?

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. ...

How to get URL, tab number, browser name/number with Qt?

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? ...