Questions tagged as 'post'

0
answers

SSL error when posting new entry

Today I found an error when using the Zend to publish in my blog blogger. Using PHP this is the code: <?php set_time_limit(0); date_default_timezone_set('America/Argentina/Buenos_Aires'); if (isset($_POST['submit'])) { // load Zend Gdata...
asked by 23.03.2018 / 04:15
2
answers

Send POST to PHP through AJAX

I need that when I click on a button through POST I send a data to a PHP file where I make a query with that parameter that I receive to generate a graph. I have done it by means of a form, but an inconvenience arises when clicking on that butto...
asked by 21.09.2016 / 20:55
2
answers

Resize image that comes by POST in PHP

How can I resize an image that comes to me by POST from a form? $rutaFichero = '/img/' . basename($_FILES['imagenNoticia']['name']); if (move_uploaded_file($_FILES['imagenNoticia']['tmp_name'], $rutaFichero)) { $imagenOrig...
asked by 15.06.2016 / 09:52
3
answers

Send a multidimensional associative arrangement through the use of forms

From a form like this: <form action="action.php" method="POST"> Foo: <input type="text" name="foo"><br> <input type="submit" value="Submit"> </form> We know that to classically access the info...
asked by 17.06.2016 / 17:21
2
answers

How to use $ http.post and $ http.get in the same function?

A few weeks ago I started using AngularJs for an application of the typical administration style. My question is this: I use it with PHP, using the method $http.post sent the parameters to a file 'file.php', who takes the variables...
asked by 23.09.2016 / 00:48
2
answers

Get requests authorized based on permissions using node js

What I want to do is, that every time a user, registered or not, when requesting or entering a URL, I want to know what the user is, to see if he has access, and if he has it Render the page with the personal information of said user. I tried...
asked by 30.12.2015 / 01:04
1
answer

Pass select values by POST to CodeIgniter controller

You will see I want to obtain the value of the options chosen in the select , through POST , do I have to do a array with the values selected ?, I tried to do something but I did not get it View of the form <?php if(!emp...
asked by 12.01.2017 / 18:34
2
answers

AngularJS request header field Content-Type is not allowed by Access-Control-Allow-Headers

Starting to use Angular JS and I need to make a post request to a server. I am making the request in the following way: var Informacion= JSON.parse('{"username":"--","password":"--"}') $http.post('http://--:8080/taller-bd-11/usuarios/login',...
asked by 21.12.2015 / 07:35
4
answers

how do I get the correct value to an HttpResponse response = mHttpClient.execute (httppost);

I have a post method. That consumes a Webservice that returns a boolean (ws) (everything is correct up here), as you know, it returns a true or false (which makes it correct) How can I recover this result? This is the code HttpResponse r...
asked by 02.10.2017 / 19:41
1
answer

Passing parameters to a URL through POST

Please help me with the following: in a web form that I have posted to the internet, I am asked to pass 3 parameters to a web form through POST, I never did GET or POST in asp.net web form and I am lost of how that is done, then in summary what...
asked by 12.09.2016 / 18:08