Quantcast
Channel: CodeIgniter Forums - All Forums
Browsing all 14114 articles
Browse latest View live

Microsoft has acquired GitHub

It's official. https://techcrunch.com/2018/06/04/micros...oft-stock/

View Article


Strange 404 Errors In Logs

Hi all - I've noticed recently I've been getting a lot of strange 404 errors in my logs. A few examples: PHP Code: 404 Page Not Found: Apple-touch-iconpng/index404 Page Not Found:...

View Article


Image may be NSFW.
Clik here to view.

Problems with creating subfolders in CodeIgniter 3 HMVC

I have a project that contains several subfolders, such as: client (folder name)  auth (sub folder )                         login(sub sub folder)                            model+view+controller...

View Article

hashing password and decrypting(need hlp)

i have hashed my password but i can't decrypt it.what is the best way to solve the situation.can someone help me solve it. this is my insert model public function insert_client($codeDigits)    {...

View Article

Escape string before inserting in a query

I  know that when you are using CI query builder you don't need care about it, because CI automatically escapes strings for you. But what if i need to use my own SQL query (which is not possible to...

View Article


Image convert into base64 and store in database

I have try to convert image into base64 but its not showing image.when i fetch it from database( it works with smaller images like 400X300. but not with large dimension images  ). which datatype should...

View Article

Disable IP address, user-agent string in cookie

Hi,   I'm working with CI 3.0 and I have a problem with GDPR policies  I'd like to avoid CI store the IP address and User Agent of client in cookie. I try to set config :  Code:...

View Article

Image may be NSFW.
Clik here to view.

Get data arguments

Hi, today I tried to follow the manual, in order to get data from the form, and did not quite understand how to correctly pass the parameter. In my controller: PHP Code: $model->setParam([...

View Article


CodeIgniter HMVC error

1st time setup CodeIgniter HMVC. when i run code i face this error.  An uncaught Exception was encountered Type: Error Message: Call to undefined method MY_Loader::_ci_object_to_array() Filename:...

View Article


Message: file_get_contents(): https:// wrapper is disabled in the server...

I am trying below code to get city detail from thirdparty website using one of my controller file PHP Code: $arrContextOptions=array( "ssl"=>array( "verify_peer"=>false,...

View Article

changing session driver to database (modified)

I have a working application that uses the default session driver. Here is my config.php section: $config['sess_driver'] = 'files'; $config['sess_cookie_name'] = 'ci_session';...

View Article

Integration doctrine to codeigniter 4

I have installed doctrine with composer and added Doctrine.php to libraries using tutorial on next link codeigniter and doctrine and I try this: PHP Code: <?php namespace App\Controllers;use...

View Article

Sync contacts between android app and php

Hi guys I'm programming chat application for android In this app,i have to sync device's contacts with server I send all contact phone number to server and check it with select sID from user where...

View Article


Placeholders in language lines

How to use placeholders in  $this->lang->line('misc_key', FALSE); It is used in standard libraries  (e.g. from validation), but how to use it in my own libs and models? Code: echo...

View Article

Re-entrancy and files based sessions

I am using file based (default) sessions. I am a little concerned about re-entrance. My program actually has two doors to get in. The first is a regular old CI app entrance where a user logs in via...

View Article


Help

Need Help with my Pagination Hello, I have pagination working on my list page but I can't get it to work on a search result page. I'd appreciate any help! Most stack overflows with similar questions...

View Article

Upgrading a project

I purchased a project off Envato to use as a baseline to build on. It is written using 3.0.0. Would it be recommended to update it to a later version?

View Article


what kind of tire-architecture follows codeigniter?

is CodeIgniter follows 3 tier architecture or n-tier architecture?. What architecture basically used in Codeigniter for implement business logic.

View Article

Load view from Controller issue

Hi there, I am new to CodeIgniter framework and needs someone help, please. I have an issue to redirect user back to Contact Us form after its submission. My default controller is defined as below. PHP...

View Article

Problem using two different database

Hello, people of the forum. All right? I'm working with two databases, MySQL as primary and Progress as secondary bank via ODBC ... The following is the code for the connections: database.php PHP Code:...

View Article
Browsing all 14114 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>