Questions tagged as 'get'

1
answer

Collect shared URL statistics on Facebook using Python

To collect statistics from a shared URL on Facebook in PHP, I'm making use of cURL to query the following URI: // URL para submeter $pageUrl = 'http://www.example.com/my-new-article-is-neat'; // URI a consultar $uri = 'https://graph.facebook....
asked by 09.04.2015 / 14:37
1
answer

How to consume a JSON url without using jQuery

How could I do to consume a URL with data coming from a JSON without using libraries like jQuery or something like this for a structure of type: [{chave:valor1},{chave:valor2}]     
asked by 25.11.2015 / 17:09
1
answer

How to implement a login system in an MVC standard? [closed]

I'm studying about mvc with php , I managed to make a simple start system, but I was left with doubts on some points, such as can I implement my login system? where I should "get" the values of POST and / or GET where I should t...
asked by 03.04.2014 / 01:11
1
answer

Send and pick GET by AMIGAVEL URL

I have this tag in the index <a href="projeto">Projeto</a> What sends me to this page    localhost / project.php What I'm leaving like this    localhost / project With RewriteEngine on RewriteCond %{REQUEST_FILE...
asked by 15.03.2018 / 00:11
1
answer

Send date for $ _GET

I need to send a date by $_GET but I can not, what is the method to make this passage? The submission looks like this: ajax/deletaPessoaVinculo.php?dt=2016-01-29&amp;p=PV&amp;a=1&amp;pb=3&amp;c=SUPRV And array...
asked by 22.01.2016 / 17:57
2
answers

Mount the parameters of a URL dynamically

I have a page on a system where I list the products registered in the DB, I am implementing some filters within this page, and I would like to update the links of the filters as requested in the URL (GET REQUEST): At the beginning of the pa...
asked by 10.03.2015 / 12:21
2
answers

$ _GET get value from ID or name?

Does $_GET , or even $_POST , get ID values from input or name ? <form action="#" method="get" name="meuForm"> <input id="nome" name="nome" type="text" value="Teste"> <input id="email" name="email" typ...
asked by 03.07.2017 / 18:45
2
answers

Calculate days difference between two dates [PHP] [duplicate]

Good afternoon everyone! I did research before asking the question, but I did not get an answer for my doubt in any of them. I need help getting the following code to receive the two dates by the $ _GET variable, example (.php? data1 = 23-0...
asked by 23.09.2016 / 18:09
3
answers

Check if $ _GET value is 1 or 2 and execute SQL UPDATE

I have $_GET['id'] and I need to check if the value it takes from url index.php?id= is 1 or 2 , and if none of the alternatives performs a die(); , if it is 1 or 2 it assigns $var = $_GET['id']; and with a i...
asked by 10.06.2014 / 18:46
2
answers

Send form data via GET to server (no page refresh)

I have this form and would like to give a GET to variables with their value when clicking the button, without refreshing the page because I have other forms on the same page, is it possible with PHP, or do you have to use AJAX? / p> Fo...
asked by 22.11.2014 / 17:58