Questions tagged [getparameter]
135 questions
0
votes
1 answer
PHP - How to add GET param to array and sort?
Using PHP, I need to take all possible GET parameters from a URL, sort them into alphabetical order and then add all with values to an array. The parameters received will not always be the same.
As an example, if I receive the following;…

robolist
- 159
- 1
- 14
0
votes
0 answers
How to navigate to the correct offering site
I´m currently developing an online real estate market and am having trouble to navigate from the overview site, where all real estate offerings are displayed to the detail site.
What works is that all offerings are displayed on wohnen_haus.php.…

Greta
- 300
- 1
- 10
0
votes
4 answers
PHP Multilanguage GET parameters
I'm building multi-language support for PHP page. Let's say I have a page url:
http://mypage.php?user=eric&city=newyork
What is the common solution to switch between get parameters lang=en and lang=es while keeping the get parameters already in the…

luca
- 36,606
- 27
- 86
- 125
0
votes
1 answer
getParamteter not working on text element in ajax call to java servlet
Hi I have a name and pw text fields with a submit button. The problem is that whatever value I enter does not get picked up by the servlet. I do not know if the problem is when JQUERY is trying to get the HTML element value or if the servlet cannot…

Hgrammer
- 17
- 1
- 8
0
votes
1 answer
Passing values from one servlet to another
I have a jsp with value String filesrno = "testvalue". Also I have a form I am submitting on this jsp.

Vaneet Singh
- 61
- 1
- 6
0
votes
0 answers
file_get_contents cannot open stream of url with parameter
This may sound like a duplicate question. That is only because, none of the others could get my code working.
My problem code
$file="blog?blogid=$_GET[blogid]";
$contents = file_get_contents(urlencode($file));
I have tried
$file=__DIR__…
user5585849
0
votes
1 answer
How to replace plus (+) signs with spaces ( ) in GET parameters with javascript
I get users redirected to my site with GET parameters like this:
www.example.com/?email=mail@mail.com&vorname=name1+name2
I use javascript to populate my texfields (newsletter subscription) like this:
function getUrlVars() {
var vars = {};
…

user363808
- 53
- 1
- 10
0
votes
3 answers
How to input text into text field with javascript
I have a form on a wordpress site with a text field for an email adress which looks like this:
I can get the email address…

user363808
- 53
- 1
- 10
0
votes
1 answer
request.getParameter value not get data with spaces from value that user key in
I just learn jsp and Java and still new to it.
I have this code in my a.jsp file.The user will need to enter any item in the value and click button Search.
;

Iyda
- 25
- 8
0
votes
1 answer
cannot pass value from js to jsp file
I am new in java and javascript. I want to pass a value from function in js file to JSP file. But I didn't get the value and it shows NULL. Let's say js file named as maintain.js and JSP file as form.jsp. Supposedly the value obtains from function…

Iyda
- 25
- 8
0
votes
1 answer
JSP page in IE not receiving POST parameters. Works in Chrome
A pretty simple setup.
HTML form
0
votes
3 answers
.htaccess: Rewrite URI GET-Parameters?
I want my URL to look like this:
https://example-test.example.com/example-application_1.1/index.php?page=pagename&action=actionname
But the user should only type:
https://example-test.example.com/example-application_1.1/pagename/actionname/
Is it…
0
votes
2 answers
Laravel change language depending on a $_GET parameter
A simple scenario when we want to setup the Locale Language settings (App::setLocale()) depending on a $_GET parameter as in following URL:
http://aboutlaravel.com/?language_code=en
Possible Solution: Create a middleware and register it in…

Ardit
- 98
- 1
- 3
- 16
0
votes
2 answers
Cannot value from getParameter in servlet
I have a view page using JSP. I have enctype="multipart/form-data" and also have dropdown field using select option.
Here my code:

user3505775
- 339
- 2
- 6
- 20
0
votes
2 answers
How get params from link ruby on rails?
I have column inviter in my User model. I want get params from the link and save it in cookies. For example, from this link:
domain.com/?ref=5
I want save to cookies number ?ref=**5**
And when a user goes to registration, the user will not need to…

AzBest
- 67
- 5