Posts by edson ferrari • 123 points
17 posts
-
1
votes1
answer89
viewsQ: Error of calculating days interval between two dates using diff in PHP
I am having a difference of values when calculating the interval of days between two dates. I have the following: $data1 = new DateTime('2019-06-10'); $data2 = new DateTime('9999-12-31'); If I use…
-
2
votes1
answer45
viewsQ: Alternative to Nusoap Class
I’m using the Nusoap class to make a webservice. However, when we have the php version for 7.0 or higher, I have problems with codes that are deprecated for this version. I wonder if there is an…
-
0
votes1
answer160
viewsQ: read txt files with php
I have the following situation: I have files in txt format, which are generated by another program and I will have to read this file row by row to generate payment slips, in this file approximately…
-
0
votes1
answer335
viewsA: configure html2pdf print margins
Solved, to configure html2pdf to generate the html pdf, we use tags: <page backtop="10mm" backbottom="2mm" backleft="1mm" backright="1mm"> </page> the configuration can be done in…
-
0
votes1
answer335
viewsQ: configure html2pdf print margins
I am using html2pdf, but I am not able to increase the printing margin. In my html I put <table align="center" cellspacing=0 cellpadding=0 border=0 so that everything is centralized. The maximum…
-
1
votes0
answers282
viewsQ: barcode difference from registered php billet
Is there a difference between the barcode of a billet registered to the billet that is not registered? Today, we know that there is no more billet that is not registered, I would like to use the…
-
0
votes0
answers35
viewsQ: file . Htaccess
I am using the following configuration in the Htaccess file: RewriteEngine on RewriteCond %{HTTP_HOST} ^(www.)?dominio.com.br$ RewriteCond %{REQUEST_URI} !^/pasta-destino/ RewriteCond…
-
0
votes1
answer1325
viewsQ: digital signature in xml files for E-social
Hello, I need to clear the doubt about the signature in the xml sending to the E-social, see I am basing the article Problem with eSocial digital signature - Invalid signature I have the following…
-
0
votes0
answers339
viewsQ: php web service E-social
Hello, has anyone ever done something with php that accesses the E-social web service? I’m having trouble understanding what the certification chain is. It will not be possible for example to use an…
phpasked edson ferrari 123 -
1
votes1
answer93
viewsQ: session_unset($_SESSION)
Hello, the instruction session_unset($_SESSION); excludes all existing Sesssions? I have on the local wampserver server where the session variable is in my case in the following path: c:/wamp/tmp,…
phpasked edson ferrari 123 -
1
votes1
answer565
viewsQ: webcam "You have denied camera access" Chrome + php
I’m having trouble accessing a webcam on the site using php where I have the message "You have denied camera access", the same script on the site php works well, I have no problem. The hosting I am…
-
0
votes2
answers1429
viewsQ: Exclude an element from a specific div
Has the following html code: <div id="lista"> <p>Antonio Carlos Almeida Filhos</p> </div> How could I exclude this paragraph only from this div without deleting other…
-
0
votes2
answers331
viewsQ: php mysqli last record
I have a page that makes connection through the mode mysqli class below: # include da classe class connectionClass extends mysqli{ public…
-
1
votes1
answer118
viewsQ: Redirect with jQuery and PHP
I have two pages where one is the .js calling via ajax a PHP routine to validate a user: https://pastebin.com/37RQtjUY Another page in PHP that is the call of this previous routine where I will…
-
1
votes2
answers634
viewsQ: FULLCALENDAR - bring events
We have in the Fullcalendar configuration the part of bringing the events in json form, I follow the following model: $('#full-calendar').fullCalendar({ events:{ url:…
-
0
votes1
answer508
viewsA: Fullcalendar month and current year
Good morning to you all! I want to share a solution that I found. I am using a template that has fullcalendar, so searching the documentation I found the following solution: I created 3 buttons:…
fullcalendaranswered edson ferrari 123 -
1
votes1
answer508
viewsQ: Fullcalendar month and current year
Good evening to all, I need to know if there is a way to catch the month and the current year of FullCalendar, when we click on go or go back. I couldn’t figure out which event fires when I click…
fullcalendarasked edson ferrari 123