Questions tagged as 'php'

1
answer

How to adpate upload with Ajax [duplicate]

I'm trying to adapt an upload that I have using Ajax , but I'm not getting it, so I read I need to use formData , tried some alternatives, but all did not work, my form has several fields and what I'm with problem is just uploading...
asked by 19.12.2016 / 16:17
1
answer

Using CONCAT, CONCAT_WS, and GROUP_CONCAT

I'm building a query where I search for results within the concatenation and got enough to ask for help. I currently use MySQL with the PHP application. In the example below, I look for the words "F1000" and "GRID" in a concatenation of colum...
asked by 06.01.2017 / 12:52
1
answer

Best way to use AES encryption

Well, let's say I'm working on a system where the encryption key is derived from the user's password (something like what KeePass does), in that case I have three questions: Which algorithm to use to derive the key? So that it is as far as po...
asked by 30.09.2017 / 16:51
1
answer

How do I display a message / alert on the first access to the site?

I would like to create a "Newsletter" that I display on first and occasionally when accessing the site. I already have it created, but I can not find the functions and tags that help me.     
asked by 17.09.2017 / 03:32
1
answer

What's the difference between using ArrayIterator vs Simple Array?

Some examples on the net with ArrayInterator are used in the following ways: $arr = array("Banana", "Abacaxi", "Abacate", "Morango"); // loop through the object foreach (new ArrayIterator($arr) as $key => $value) { echo $key...
asked by 24.09.2016 / 07:08
1
answer

CodeIgniter 3 - HMVC - Problem with routes, Not Found or Failed to Load Session.php

My scenario is as follows: I'm using CodeIgniter 3 with HMVC, while doing only local development, I had no problems with XAMPP with Windows, I went up to my test server which is an Ubuntu Server and then started the problems: The routes st...
asked by 16.05.2016 / 15:25
1
answer

Login does not work

First time here, I got a code ready adapted for my college work, however the login does not verify, accept anything that you put. Create login <div id="nav"> <div id="sup_direito"> <div id="login">...
asked by 14.06.2016 / 06:13
1
answer

JSON cut when sending by post with AJAX

I'm using Angular to make a database entry, I get the data from my inputs I put into an object and I transform it into a JSON and I send it by post, but it happens that my JSON is cut and I do not do the minimum idea of why. var meuJson = ang...
asked by 04.04.2014 / 19:08
1
answer

How to send user information securely using Ajax?

I am developing a login system and need to send the values through Ajax. The login will be in a modal window in the home, and because of this I will not use the HTTPS protocol. Can you send Ajax securely using SSL?     
asked by 05.04.2014 / 02:07
2
answers

How to save facebook profile photo in the database?

I have a button that when I click, connects to facebook and displays the person's data in a registration form, in that form to a text field that returns the following: http://graph.facebook.com/'.$fb_id.'/picture?width=300 I would like...
asked by 06.04.2015 / 18:07