Questions tagged as 'get'

4
answers

Send more than one parameter in GET request

I use the following code to send a parameter in a Ajax request of type GET . $('#cidades').load('cidades.php?estado=' + $('#estados').val()); How do I pass also a parameter called recurso ?     
asked by 09.12.2015 / 16:00
1
answer

Variable storage in PHP - $ _SETION x $ _GET [closed]

Hello friends. I have a question about good practices applied in development: What would be the best way to store temporary variables in an application? I have a PHP application where I can edit users, where I just click the link and it direct...
asked by 26.01.2017 / 14:01
3
answers

How to make '$ _SERVER [' REQUEST_URI ']' accept GET variables

Hello, I have the following condition: if($_SERVER['REQUEST_URI'] != '/painel/cardapio.php'){ header('Location: cardapio.php'); } But I'm having trouble because cardapio.php can be accessed through GET as cardapio....
asked by 30.06.2016 / 17:47
2
answers

(Laravel) method $ .get can not find route

Hey guys, all right? I would really appreciate your help as I have been stuck with this problem for a couple of days and can not solve it myself. I have a multi-line table with a checkbox on each line and a button that, when clicked, takes...
asked by 16.02.2016 / 18:45
1
answer

Why are [] characters processed this way in my URL?

When I send a $_GET of my application I have the following expression tipo%5B%5D=CASA in my url . The data comes from an HTML element of type checkbox of name="tipo[]" . These characters simply represent [ an...
asked by 01.11.2014 / 22:31
1
answer

POST and GET methods in C #

I wonder if you have any library or any third-party component that does POST and GET on the sites. I need to navigate to some sites but I can not do GET nor the homepage of a specific site, it always returns me error 599. Attempts: private...
asked by 28.08.2015 / 19:59
1
answer

Paging system not working - SERVER SIDE

This is my file called index.php: <?php $maxlinks = 4; $paginaAtual = (isset($_GET['paginaAtual'])) ? (int)$_GET['paginaAtual'] : 1; $maximo = 5; $inicio = (($maximo * $paginaAtual) - $maximo); $publicacoesUN = DBRead('publicacao', "ORD...
asked by 10.09.2018 / 01:22
2
answers

Enable button when the last request is executed successfully

I have a table with multiple records with their respective information and ids . When I click on a button I make a request via post and Ajax individually from that row of the table. But I have another button that scrolls the ent...
asked by 08.01.2018 / 03:25
2
answers

Receive POST ID and play to Location via GET

I'm looking forward to getting the ID of the entity that just registered. Only it will be played to another screen, to be registered other information. I wonder how I can get the entity ID when saving the form. This is HTML <form act...
asked by 24.12.2017 / 21:56
3
answers

CNPJ Webservice

I need to get some CNPJ data for my registration system, I found this webservice in interwebs. GET - link But I'm not able to implement PHP code. Could you help me? Sorry guys, Here is my attempt to implement: <html> <...
asked by 21.07.2016 / 23:33