Questions tagged [query-string]

The part of a URL after the ? (question mark), containing parameter=value pairs separated by & (ampersand). In a request made to a web application at a particular URL, the parameter+value data in the query string is parsed/consumed by the web application on the backend that receives the request.

See also: https://en.wikipedia.org/wiki/Query_string

5108 questions
1
vote
2 answers

Pass arbitrary url as $_GET variable

Given some arbitrary url: view.php?viewid=blahblahblah Is there a way I can encode a query string which has the above URL as a variable and preserves it's (view.php's) query string? Obviously, for some…
PandemoniumSyndicate
  • 2,855
  • 6
  • 29
  • 49
1
vote
3 answers

C# URL QueryString Trouble

I have a WP7 project where I am using the below code. It normally works ok, but I am getting a strange result with some particular strings being passed through. Service = "3q%23L3t41tGfXQDTaZMbn%23w%3D%3D?f" NavigationService.Navigate(new…
Dan Sewell
  • 1,278
  • 4
  • 18
  • 45
1
vote
5 answers

Making link to go somewhere else than its default href

I want to grab the link text and append it to the URL and open the new URL with querystring added Onclick of the Original Link..How do I get the link text using javascript or jquery?
Anju Thapa
  • 257
  • 6
  • 17
  • 32
1
vote
3 answers

Populate attribute value based on variable in URL string

Let's say I'm on a page on my website: http://www.example.com/SearchResults.asp?Search=stackoverflow. Is it possible to use a JavaScript or jQuery code to get the variable "search" from the URL string and populate it into the value of the search…
henryaaron
  • 6,042
  • 20
  • 61
  • 80
1
vote
3 answers

How to sort an array by keys in an ascending direction?

here is the input i am getting from my flash file process.php?Q2=898&Aa=Grade1&Tim=0%3A0%3A12&Q1=908&Bb=lkj&Q4=jhj&Q3=08&Cc=North%20America&Q0=1 and in php i use this code foreach ($_GET as $field => $label) { $datarray[]=$_GET[$field]; echo …
hitek
  • 372
  • 1
  • 17
  • 33
1
vote
2 answers

Long query string variable missing

I've got a pretty long query string variable (value is approximately 600 chars) that I'm trying to reach from a PHP script. The long one is not present in $_REQUEST or $_GET but another variable with shorter value length is. I've shaved off some of…
ghjunior
  • 119
  • 10
1
vote
1 answer

support for query parameters in JAX-RS

I did the following tutorial to create a restful webservice with my mysql db http://netbeans.org/kb/docs/websvc/rest.html The basic things works fine, but now I want to extend the service functionality. How can I add additional parameters to the GET…
mehdi mehdi
  • 11
  • 1
  • 2
1
vote
1 answer

Versioning a JavaScript single page web app? (querystring)

I have a Single Page App with some static routes such as: example.org/#!/tools/ example.org/#!/stories/story-1/ These are examples of routes that don't need any versioning. Either the "page" exists, it has been redirected or it is non-existent.…
dani
  • 4,880
  • 8
  • 55
  • 95
1
vote
2 answers

Pass inputbox text as querystring to url

Possible Duplicate: pass inputbox value as a querystring to URL
AJSwift
  • 709
  • 4
  • 12
  • 26
1
vote
1 answer

pass inputbox value as a querystring to URL

I have an inputbox and a link for SEARCH styled to look like a Search button. When a user types in a keyword in the inputbox, I want to grab that keyword, pass it, and append it as a search query string to the search URL…
Aj Kancha
  • 37
  • 1
  • 8
1
vote
4 answers

Any gotchas with Request.Params [ASP.NET]

Hopefully the answer is no, but are there any problems with using Request.Params instead of Request.QueryString for retrieving data in the query string in asp.net?
davidsleeps
  • 9,393
  • 11
  • 59
  • 73
1
vote
4 answers

Access VBA SQL string too long

I have an Excel 2003 VBA program that creates an SQL string that way: OrdresPlanif = "" Do While Cells(i, 1).Value <> "CODES TEMPS" noOrdre = Cells(i, 4).Value If noOrdre <> "" Then OrdresPlanif = OrdresPlanif + "(Ordre.Ordre) <> " &…
sebastien leblanc
  • 675
  • 1
  • 12
  • 28
1
vote
2 answers

How to access query string using Struts 2 tags from a JSP?

I am redirecting to a JSP that has to print the whole incoming query string. Like in this other question, Request parameter in jsp page, I do not want to access one parameter but the whole query string which I would accomplish in a scriptlet like:…
user286806
  • 495
  • 1
  • 5
  • 14
1
vote
2 answers

Send values from other controls to User Control properties in .aspx page

Is there a way pass values from other controls (e.g. "selected value of dropdownlist", "value from query string") to a User Control using a property within the tag itself and NOT from the code behind?
Brian David Berman
  • 7,514
  • 26
  • 77
  • 144
1
vote
1 answer

how different URL's are working

I would like to ask a theoritical question about how some web sites work. As an example.Let's say that I'm in the A market on line store. I placed a case of wine in the shopping trolley, The page appeared with this…
dali1985
  • 3,263
  • 13
  • 49
  • 68
1 2 3
99
100