Questions tagged as 'codeigniter'

0
answers

Error with route in codeigniter

I need to pass a token via URL (type an affiliate code) the problem is that whenever I pass this token, it loads the wrong page, instead of loading the registration page, loads the home and with error in the files style .. when I do not use the...
asked by 12.07.2018 / 18:41
1
answer

development subfolder codeigniter does not work

Good morning. I'm doing maintenance on a PHP backend that uses the codeigniter framework. To test the new codes, I created a subfolder in the system (testing) and copied the files from the main directory to subfolder. Looking at the tutorial...
asked by 09.07.2018 / 17:02
1
answer

PHP - Pass Controller Variable to the CodeIgniter / Active Menu View

I want to make a form of the active menu stay colorful, so I separated my template has: View: Menu_lateral.php - place where the side menu is; Controller: General: Where would I tell which menu is active; In the view I did: <?php...
asked by 10.07.2018 / 02:16
1
answer

PHPMailer - Attachment has no extension

Well, when sending my attachment using PHPMailer, if I do not add an extension after the variable, I can not get the extension of the selected file ie: $mail->addAttachment($uploadfile) should send the file, giving its name and type...
asked by 04.07.2018 / 17:55
0
answers

Error connecting Codeigniter with Oracle

I am trying to connect codeigniter with oracle and is giving this error: Fatal error: Call to undefined function oci_connect() in C:\Apache24\htdocs\system\database\drivers\oci8\oci8_driver.php on line 238 A PHP Error was encountered Severity:...
asked by 04.07.2018 / 15:23
0
answers

Codeigniter return 500 for cURL

guys, I'm using cURL to send the data to a page and bring me the return, type an API but returns error 500: The action you have requested is not allowed. If I call the page directly through the browser it works, by cURL not My function:...
asked by 26.06.2018 / 15:39
1
answer

Disables the DataTables collapse function

Good! I needed to know if there is a way to prevent DataTables from collapsing the columns, and also if there is any way to use columns.visible to make the column invisible, but not space too! For easier understanding: This is what I want...
asked by 27.06.2018 / 10:47
2
answers

Verify that the column value is "Base"

I needed to check if the mytable table, in the mycolumn column, the value is 'meuvalor' . My controller: public function GetValue() { $this->config->set_item('language', $this->session->errorM...
asked by 25.06.2018 / 17:56
0
answers

Change database file by means of a controller

This is database.php in the config $tnsname = '(DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.0.59)(PORT = 3021)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = xe)))'; $db['default'] = array( 'd...
asked by 22.06.2018 / 19:17
2
answers

Form registration confirmation mail with codeigniter

Hey guys. I have the following scenario ... I wanted to send an email to the user of my site. For example: - Welcome to the company So, wait until soon we will contact. This is just an example, but in my real form I have other fields (type...
asked by 04.07.2018 / 00:56