Posts by Clayton Eduardo Mergulhão • 373 points
26 posts
-
0
votes2
answers484
viewsQ: How to know if user is logged in with ion-auth 2
I want to restrict access to my login system to only 1 for each login, I want my system to block access, if login is already being used on another device. What would be the best practice to do that?…
-
0
votes0
answers47
viewsQ: Sequences of actions in ajax
Good afternoon! I don’t know if the title of my question is correct any more if someone has a better please change. I have following problem, I have an emission ERP and NFE and Nfce is working…
-
0
votes2
answers543
viewsQ: Pick up data using Join in two table 1 for many
good morning, I need to perform a select of two tables that are related 1 to many: Table 1: products Table 2: price group I need to get all prices from the price group table, which may have 1 or…
-
0
votes1
answer328
viewsA: jquery.fileupload change name before upload
I fixed the problem with this file: https://github.com/blueimp/jQuery-File-Upload/blob/master/server/php/UploadHandler.php…
-
0
votes1
answer330
viewsA: Error 1062 at some times in database system
I solved the problem by downloading a more current version of plugins.
-
0
votes1
answer330
viewsQ: Error 1062 at some times in database system
I am facing the following error while running my app: Error Number: 1062 Duplicate entry '1484918130' for key 'PRIMARY' INSERT INTO sistema_session (id, ip_address, timestamp, data) VALUES…
-
3
votes1
answer598
viewsQ: Print 2 records per page with Mpdf
My problem is this: I need to print duplicates. I am using it to generate the Mpdf. When I need to emit only one blz, it works perfectly, but when I need to print more, it cuts, there is a part on…
-
0
votes1
answer169
viewsA: Nfephp 3.10 - XML passes in 3 validators but does NOT transmit to Sefaz
The Rejection (225): "Failure in the XML Schema of the Nfe batch (Electronic Invoice) " indicates that the NF-e filling may have been done wrong, however, as this rejection is generic, we have to…
-
0
votes2
answers427
viewsQ: Codeigniter 3 send file with extension PFX
I need to upload a file with the extension .pfx (digital certificate). I’m using the library Upload of CodeIgniter as follows: I’m putting the extension allowed_types but does not send. Returns: The…
-
2
votes2
answers131
viewsQ: Keep client logged in to http and https
I’m finishing my virtual store developed in codeigniter 3 and database mysql is working perfectly. Now I want to start the digital certificate configuration. My problem is this: when I go into the…
-
2
votes1
answer901
viewsQ: CI3 Does Not Load the model on the umbler server
I’m running a test on umbler services, but I’m having trouble loading the model. I’m using ci3 and I’m loaded the models as usual. $this->load->model('main_model'); But there’s a mistake An…
-
2
votes2
answers455
viewsQ: Read remote xml file
How can I read an xml file that is generated online, is a file generated by my provider, http://www.shoplivre.com.br/hayamax/haymax.php. It is generated only through my website but how can I read it…
-
0
votes5
answers2514
viewsA: Secure API does not return purchase status
Look what I saw, it must be what my friend William said because I’m using a code that looks like yours and mine worked. but it’s simple only works if you get the Uol post. has the Uol test…
-
1
votes1
answer467
viewsQ: Maintain Session after closing browser using PHP
I’m making a cart using session, has how to increase the time of session? below is the class I created for my shopping cart. class carrinhocompra{ public function __construct(){…
-
0
votes1
answer105
viewsQ: Take data from a db in a class in codeigniter
good day, I’m making a shopping cart and in it I have a function to list the products, and return me an array to then I list in my view more I don’t know if it would be the right one to do it in my…
codeigniterasked Clayton Eduardo Mergulhão 373 -
-2
votes1
answer107
viewsQ: Counties in codeigniter with DB data
Good afternoon I need to get some settings for my site that comes from a table in the database, currently I use variable more then every time have to go there at the bank to get, I think this can…
-
3
votes1
answer205
viewsQ: Print incoming json data in jquery post
I am with the following doubt, I am making a freight calculation system the system is getting a json response in the following pattern. {"cServico":…
jsonasked Clayton Eduardo Mergulhão 373 -
0
votes3
answers1096
viewsA: Send mail with form data
So friend, the easiest way, is to use a dynamic example php language, Asp, . net, plus some factors are also very crucial the host where your site is hosted because it influences a lot because each…
-
1
votes1
answer328
viewsQ: jquery.fileupload change name before upload
I have a product registration system and I’m using to send the images jquery.fileupload. It’s working perfectly, but some customers are having trouble with the duplicate name or names with space.…
-
2
votes1
answer103
viewsQ: Virtual store domain forwarding
Good morning! I am finalizing the development of a virtual store that I will work with rent. So far so good: I have the following problem. I want to let all customers have always used the same…
redirectingasked Clayton Eduardo Mergulhão 373 -
2
votes1
answer3945
viewsQ: Array with database information
I am starting an email sending system for a customer. It has SMTP from Locaweb and they have an API for sending email. So far so good I can send the emails using their api, but I came across a…
-
2
votes3
answers192
viewsQ: Problem with variable concatenation
I have a variable in a foreach that picks up the registration id: $id_inscrito = $this->session->userdata('last_id'); I want to store this variable in another: $ids_ =…
-
2
votes1
answer208
viewsQ: Javascript loop
I need when to delete a row from a list. it changes an input items. Example: linha 01 linha 02 linha 03 if I delete line two currently it gets: linha 01 linha 03 but I didn’t want it that way I need…
-
0
votes1
answer319
viewsQ: Doubt how to validate compo with product name[], field is an array
I came across the following doubt. I am using jQuery Validation Plugin v1.13.0 to validate my client side form. It’s working, all right. but the problem I can’t solve is I have a field with a name…
jqueryasked Clayton Eduardo Mergulhão 373 -
1
votes2
answers811
viewsQ: Problem with jQuery Validation Plugin
I’m using the resource remote to check if there is a register in my database with the same Cpf. More precise that this field is not mandatory be optional. So I tried to put required: false but it…
jqueryasked Clayton Eduardo Mergulhão 373 -
0
votes1
answer932
viewsQ: Sum or subtract a field’s value in a database with Codeigniter
I am using Codeigniter in my application, what I need to do is the following I have in my database a field with name stock, this field is whole value, I need to do the following when I perform a…
codeigniterasked Clayton Eduardo Mergulhão 373