Posts by theteo • 117 points
10 posts
-
3
votes1
answer77
viewsQ: Sendmail() BATCH localhost
Friends, I am being able to send email normally using sendmail() localhost, as follows: sendmail.ini [sendmail] smtp_server=smtp.gmail.com smtp_port=587 error_logfile=error.log…
-
1
votes0
answers302
viewsQ: Repeat template on multiple pages with Phpword
Friends, I would like to use Phpword to generate the company’s stitch sheets so that I manage a single docx with all stitch sheets to facilitate printing. I thought of using a template, where I…
-
1
votes1
answer327
viewsQ: Select Distinct
tbl_protocolos id_protocolo | protocolo | assunto 1;ra001;vazamentos 2;ra002;incendios 3;ra003;inundacoes tbl_prot_tramitacoes id_tram | id_protocolo | pdf | id_setor_origem 1;1;001.pdf;70…
-
1
votes1
answer214
viewsQ: Using Left Join on Datatable Server-Side
After several attempts, I still haven’t been able to implement a 100% left Join within the Datatable Server-Side Note, the following code works 100% HTML <table id="datatable_fixed_column"…
-
1
votes0
answers149
viewsQ: "Leak" by Session
Something strange happened while we were using the system on the NET. Well, every time a user logs into the system, I store his ID as follows: $_SESSION['usuario']['uid'] = $id_user; and direct you…
-
1
votes1
answer436
viewsA: Database column value in a hidden HTML field
For someone with the same question, go the answer: SERVER-SIDE $table = 'tbl_contribuintes'; $primaryKey = 'id_contrib'; $columns = array( array( 'db' => 'id_contrib', 'dt' => 0 ), array( 'db'…
-
1
votes1
answer703
viewsQ: sendmail() php xampp localhost Network with proxy
Guys, I would normally send LOCALHOST email using sendmail mail($to, $assuntoHTML, $mensagemHTML, $headers) [sendmail] smtp_server=smtp.gmail.com smtp_port=587 error_logfile=error.log…
-
0
votes1
answer436
viewsQ: Database column value in a hidden HTML field
I want to take the value of the column and store it in a variable. This code below works perfectly, however I now need to fill the value of the hidden field with the ID that comes from the bank:…
-
0
votes0
answers142
viewsQ: Recover server-side values
I have a datatables that lists the values as follows: <table id="datatable_fixed_column" class="table table-striped table-bordered" width="100%"> <thead> <tr>…
server-sideasked theteo 117 -
0
votes2
answers436
viewsQ: PHP instruction executed directly by Mysql
Currently, as the sending of the email was giving a lag in the application, because it has to connect with Gmail etc, I transferred to the server the mission to send these messages, as follows::…