Posts by Raphael Schubert • 225 points
10 posts
-
0
votes2
answers783
viewsQ: Set the User logged in to the model as default | Django + Python3
I am trying to learn Django, and with this I am trying to create a simple system of tickets. I have made a lot of progress in my studies, but now I’ve tackled the following problem. How to do by…
-
1
votes1
answer1207
viewsQ: How to install IONIC with Android on Mac OSX
I’m trying to install Android on Mac OSX to start my studies in App Development. I successfully installed NPM, Cordova and IONIC. I also downloaded Android Studio and downloaded some versions of…
-
1
votes2
answers2954
viewsA: Hide URL data and change display
I developed a system for a company that would work with financial calculations, to prevent the user from trying to change a record without authorization I created a logic more or less like this:…
-
0
votes1
answer112
viewsA: Codeigniter error
Buddy, take a look because depending on the server’s SMPT settings, it won’t.. I had the same problem, I was able to fix using phpmailer with SMTP.
-
0
votes1
answer341
viewsA: Run the function once take the Return and use in a codeIgniter loop
An idea, do the following, within your model declare a private $var... a structure similar to this: class Model { public $email; public function findEmailById($id){ // ... função que busca no banco…
-
3
votes1
answer1081
viewsA: How to restrict access per user in Codeigniter
Fabricio, you will need to configure the session variables, try this, create a LOGIN controller. public function entrar(){ $this->form_validation->set_rules('email', 'Email',…
codeigniteranswered Raphael Schubert 225 -
0
votes1
answer55
viewsA: Routes with wildcard (:any) ignoring other controllers
So far, there is no alternative. Since the tag (:any) serves precisely to accept anything, you will need to inform which routes you want to keep as controller rather than redirect.…
-
1
votes1
answer195
viewsA: How to make is_unique two fields?
I’ll leave translated the link that @Wallace Masters reported above for those who don’t know English. "I don’t think the IC has an internal solution for case with more than one Primary Key. I would…
-
1
votes1
answer331
viewsQ: Problems with Cielo Library and communication with Codeigniter
I am implementing the communication with Cielo servers for a system of my. However, when I try to load the Cielo library, I get an error. The folder structure is as follows: third_party / Cielo /…
-
4
votes2
answers12937
viewsQ: Validate CPF with Javascript Regular Expression
Guys, I’m trying to validate CPF only with regular expressions.. I’ve already been able to validate the format... 000,000,000-10 ^([0-9]){3}\.([0-9]){3}\.([0-9]){3}-([0-9]){2}$ Now, is there a way…