Questions tagged as 'php'

0
answers

Create new Plugin for Mautic

I am working on a repository based on the Mautic repository. I just created a test plugin called "HelloWorldBUndle", however, it does not appear in the list of Plugins available on the page: This is the layout of the folders and files:...
asked by 29.12.2018 / 00:37
0
answers

index.php what route do you redirect to?

Hi, I am studying the symfony-demo project and I am faced with a question: This project is configured so that the index redirects to the route / is imagined to be taken out of the locale. The fact is that I want to change the route to which the...
asked by 27.12.2018 / 17:55
0
answers

Error organizing items brought from a database through javascript

I'm doing a to-do-list with the help of ajax, I have two columns one of pending tasks and one of completed tasks , in my database I have a field called completed which has possible values of 0 if it is not completed or 1 if the task is comp...
asked by 27.12.2018 / 20:02
0
answers

How to recover sessions from Laravel 5.7 users?

Hi, I'm doing an application where users can only have one session open, no matter what device they are on. Example: a user logs into a web browser. After 1 minute he decides to change to his cell phone. In this case, the web browser sessi...
asked by 27.12.2018 / 18:51
1
answer

Sort an array by positioning the elements true as first and null as last in the list

I have the following problem, I have an array of 4 positions, in which the user can add data, delete or edit this order, so I need to order the null fields in the last positions when there is some change when removing Each true means that the...
asked by 28.12.2018 / 15:11
0
answers

Query prepared in web server with PHP JSON for Android

I have a small problem. Thanks to another partner here is how to prepare inserts prepared in the databases, but with that same model I do not know how to recover a prepared query and recover it in Android. Problem 1 the query: Generally when...
asked by 28.12.2018 / 09:09
0
answers

Doubt with php and mysql ticket system

I'm doing a ticket system for reports that users do. Until the insertion of data everything is correct. The thing is, I've made two different tables, one called remedy where the ticket data is stored and another one where you have your informati...
asked by 28.12.2018 / 10:16
2
answers

How to leave the options menu different according to profile

What would be the code so that according to the user's profile, they may or may not access an option in the menu. I have the profile table 1-admin , 2-secretaria and 3-gestionhumana . The menu is as follows !DOCTYPE html&...
asked by 28.12.2018 / 15:23
1
answer

Why is it necessary to take security precautions when sending with MAIL ()? [on hold]

When you are going to allow users to send data to your DB, or modify them, or to return them, it is natural to develop a security system, filters, etc ... but, I wonder if it will be necessary to do that for the sending emails with the MAIL meth...
asked by 28.12.2018 / 16:08
0
answers

Disable a data list from javascript

From a function, I am conditioning that with a check a data list that I have declared in a php file is enabled or disabled. The data list is named dlClient : And in my role I am doing the following: $("#chkNewProspect").click(funct...
asked by 28.12.2018 / 16:52