Questions tagged as 'php'

0
answers

Web Push Notification Custom

I'd like to know how to Push Notification in the browser that is customized per user. Could you tell me how to proceed? Is it possible to generate a single ID for that device that the person is accepting to receive the notification...
asked by 31.05.2017 / 15:03
0
answers

Read and write in txt

I have a simple code to read and write the txt made in PHP. But I do not understand why it's increasing by 3 every time I refresh the page. I tested it on an empty file with just that code and it works. Write $arquivo = "contador.txt"; $han...
asked by 26.12.2016 / 03:59
1
answer

PHP SQLServer Stored Procedure Does Not Run Correctly

Hello, I'm developing an application using Laravel Framework Handler from my Backend and found the following error. My SqlServer Express 2008 R2 database has a stored procedure that performs a series of routines and inserts data already forma...
asked by 19.12.2016 / 16:34
0
answers

Permission and user levels in PHP and AngularJs (JS)

I'm developing an administrative panel where I have some users and they should have different permissions levels. At the same time, it should be something "dynamic" for control of basic actions, such as: reading, editing, adding, and removing...
asked by 26.12.2016 / 15:53
0
answers

Configure xdebug phpstorm

I have Xampp + xdebug installed and working on netbeans, however I started to use the phpstorm ide and it does not work at all my php.ini looks like this: [XDebug] zend_extension = "php_xdebug.dll" zend_extension_ts = "./php/ext/php_xdebug.dll...
asked by 21.12.2016 / 22:15
1
answer

Search in different tables knowing which came the result

I am trying to search for a term in 4 different tables in MySQL, using like , but I need to retrieve the id of each one and identify which table came to do the listing and direct with link. This is a search system where the result...
asked by 04.11.2016 / 16:22
0
answers

Is it appropriate to migrate features common to more than one project to a stand-alone package?

I build two packages in PHP, each of which performs quite distinct functions, but both implement practically the same interfaces and abstract classes. Because of this I created a third package containing only the interfaces and abstract class...
asked by 22.11.2016 / 16:12
1
answer

Clear Checkout leaves the site?

I downloaded the official PagSeguro library, PagSeguroLibrary, but they say that with the transparent checkout the whole process is done in the virtual store and all communication with PagSeguro is done via cUrl. However, this is not what hap...
asked by 19.12.2016 / 11:31
1
answer

Upload image on server does not work

When I upload locally using WAMP64, everything happens normally. However, when I upload from the site, which is on the production server, the following error message is displayed.    NoWritableException in Image.php line 143:       Can not w...
asked by 14.12.2016 / 21:17
1
answer

Redeem date-id from a menu

How do I pass the date-id of a menu link to a modal? For example I have a menu with the link1 - link2 - link3. When clicking for example in link2 open a modal displaying the values of link2. These values are retrieved from the database, so I nee...
asked by 19.12.2016 / 10:40