Session: Creates new session on every page refresh
When i refresh the page, it creates new session into the folder (or even in database it creates a new row with new id. i tried using sessions with database also. nothing's changed.). What should i do?...
View Articleproblem with loading views in Internet Explorer
Hello. I am having a problem with viewing my website in Internet Explorer. There is seems to be a problem with my codes that force users to download a file instead of displaying the web page. My site...
View ArticleMake session never expiring
Hi guys i have a serious problem on close of browser session expires it worked my library on previous codeigniter but on 3.1.3 doesnt work Anyone can give me a complete solution ? Thanks
View ArticleConnecting CI 3.1.3 to SQL Server 2016 Problem
I never use SQL Server before, so i still don't know why this happen. I'm running XAMPP v3.2.2 with PHP 7.1.1 with Thread Safety Enabled SQL Server 2016 on Windows 10 i have installed ODBC driver 13...
View Articlesingle signon codeigniter with csrf
Hi all codeigniter gurus i have some questions about the logic and ideas of how to use a single sign on on codeigniter with csrf? for example i have a site which is called test.com when i login on this...
View ArticleCodeigniter file upload ajax Question
I have this ajax code below I would like to be able to hide the once the progress bar has reached 100 %; Not sure where best to place it. $('.progress').show(); Code: var inputFile =...
View ArticleBeginner... any open source project to start?
Hello i am very new to CodeIgniter and starting to learn ... it seems it will be suitable to my future needs, and so i was able to manage to follow some early basic tutorials on the web, but now i am...
View Articlesession & multi subdomains
Hello, i create a website with codegneiter and i have a subdomain builded by simple PHP, and i have user login from main url or blog.. my problem when user connect from blog and go to main url...
View ArticleUsing third party REST API, how to?
I am working on a project that involves connecting to a third party REST API. I'm struggling to find a way to connect, as the few CI libraries I have found are either too old, have no proper...
View ArticleEncrypt parameters in databases.php / what for?
hello, can someone give me clear explanation of the usage of these parameters in database.php ['encrypt'] Whether or not to use an encrypted connection. | | 'mysql' (deprecated), 'sqlsrv' and...
View Articleallowed_types error
Hi everybody. i have an issue with upload library in codeigniter. i have an image gallery in my project and i'm trying to upload images, i have a config array like this: Code: $config = array(...
View ArticleApplication with "heavy" printing
Hi I'm developing an application for a Government entity with lot people gathering everyday The application prints receipts with barcode for some kind of record tracking in other offices of the same...
View Articleroute not working.
i am a beginner in codeigniter i have just made one controller user.php and changed my default route to user.but its not working. my route.php is $route['default_controller'] = "user";...
View ArticleCodeigniter 4 Impressions [VIDEO]
Hello guys, As I haven't seen anyone publishing a video for Codeigniter 4 yet, I did create one To sum it up I am answering the below questions: - What are the main new features that Codeigniter 4 has?...
View ArticleCommunauty_auth 404 not found
Hi, i've installed community_auth as third party. It seems its working, i was able to create an admin account adn it's registering correctly on my user table. in the documentation : you have to mention...
View Articlemember to member donation platform
anyone to help with script like this site ? i will appreciate. "http://247bonanza.com"
View ArticleCI_Validation has a deprecated constructor
Which version of CI will be ready for PHP7.x? I am currently running 3.1.3 and some web-hoster just won't let you use error_reporting = ~E_DEPRECATED & ~E_NOTICE & E_ALL to be able to get rid...
View ArticleSession:transient error
My new site using ci312, php 533 and mysql5083 has been running perfectly (thanks to ci developers for a great product) for over 3 months. However, about once a week (max) a session error occurs as...
View ArticleQuery Builder "FROM * table AS a"
How do you do that in code igniter? I have this Stored Procedure that I want to reproduce in Codeigniter's Query Builder. Thanks in advance guys! Code: DELIMITER // CREATE PROCEDURE get_reports( IN...
View ArticleHow to make this query a little bit more readable?
PHP Code: $fname_format = "CONCAT(b.last_name, ', ', b.first_name, ' ', b.middle_name) AS full_name"; $this->db->select("a.id, b.id AS employee_id, {$fname_format}, c.id AS...
View Article