Questions tagged as 'get'

2
answers

How to handle a "redirect" after an Ajax call with JQuery?

Use JQuery to make an Ajax call (GET). When "redirect" occurs, code 302, for a valid response the JQuery returns error instead of redirect to the new URL. Do you have any other way to handle this?     
asked by 07.02.2014 / 19:39
2
answers

JavaScript does not take on pages added later

I have a problem, which gives me a big question. I'm developing a website that has a default structure, which makes GET calls in Jquery to fetch new HTML pages for certain parts of the page. Example: I click on a link and the page c...
asked by 24.03.2016 / 01:06
1
answer

How to put a string at the end of all URLs via PHP (CodeIgniter)

I'm using the CodeIgniter framework to develop a system. But in the company where they are using, the pages are not updating right, it's like the cache gives the whole page and only when I give an F5 it updates. For example, there is a screen...
asked by 23.07.2015 / 18:15
2
answers

Error trying to retrieve value from $ _GET on submit

My system does a destination search before opening the registration form, in this search I get the DestinationID parameter and I enter the input. TheproblemisthatwhenIclicksaveitcannotsubmitthevalueoftheinputDestinationID.Thisisthelinethatre...
asked by 31.05.2017 / 02:06
4
answers

How to change the date order of an implode coming from a jquery datepicker

I have the following $ _get: if(!empty($_GET) && $_SERVER['REQUEST_METHOD'] == 'GET'){ $v_ocorrencia = $_GET['ocorrencia']; $datainicio = $_GET['datainicio']; $datafinal = $_GET['datafinal']; echo 'valor recebido: '. $v_o...
asked by 01.11.2016 / 20:07
3
answers

How to use multiples $ _GET in PHP through a URL

Through a URL, I want to display a set of information in the page's HTML, however, there are values I want to repeat in certain URL's and not in others. Example: link <?php echo "<div class='campo1'>" . $_GET['c'] . "</div&...
asked by 21.11.2014 / 14:56
2
answers

How to pass input value with POST method using Angular

I am trying to pass certain values from a input through the POST method using Angular, however I am not able to pass those values in the URL and not even get them on the server. Could someone help me solve this problem? Detail, for eac...
asked by 20.01.2016 / 18:17
2
answers

Get URL ID instead of INDEX

Hello, I would like to know how to get the URL ID as if the index was the ID, so type Using GET: http://domain.com/api.php?id=1999&output=json $id = $_GET['id']; Okay, so long, well I'd like to know how you can get the id like this: h...
asked by 07.02.2016 / 22:04
1
answer

How to use $ _GET to get content coming from a link that was sent to a user's email?

I've sent this link to a user's email: http://www.example.com/redefinir_senha.php?token=4kl_EIwmivsCg52TsBgWWgWMPsApjFTJL8oBUXPDoHE&uid=USER-ID On the redefine_password.php page I know how to do the following: $token= $_GET['token'];...
asked by 31.08.2014 / 18:06
1
answer

Get values through get method parameters

I have action that sends by parameters the codCliente : //master/CadastrarEndereco?codigoCliente=1011 How do I get this value codigoCliente in my controller so that I can persist the value in the DB?     
asked by 18.11.2014 / 20:34