Attchment won't be sent if name contains spaces
Hi guys, I've just found a problem in using the Email library. If the attachment name contains spaces, the attachment won't be sent with the email text. so: Code:...
View ArticleSubdomain configuration
Hi all Appreciate this has been covered a few times here and there, but I've tried several solutions and nothing seems to be working for me - so any guidance would be really appreciated! I'm trying to...
View Articleadvice how to store to database
Hey all, i am a starting webdevloper, and this is the first time i am going to work with codeigniter. First of all sorry for my english, its not that good but i hope you can understand me but now i...
View Article[split] How to make student identity card?
How to make student identity card by using codeignator?
View ArticleCI 3.0.7 don't see APPPATH. Why?
Hi! My controller PHP Code: public function getorders() { $apiKey = '*****'; $apiSecret = '***'; require_once APPPATH.'libraries/Client.php'; Why is CI don't see...
View ArticleLong journey, from geocities to CI
Hi everyone, i like to share my journey story (sorry for my English) In 2000, i begin to create web by using free one from geocities. Yess it works for me. For a non coder like me, it is very happy to...
View Articlechange config['log_path'] on the fly
I am trying to specify my log directory from MY_Controller (my base class for application/controllers/*.php) depending on the controller class being called. The clog directory was specified using...
View ArticleEdit data from column A but update to column B
Hi, i create a system where employee update data, but only after approved by manager it become updated. Some of the column are this : The Address, New Address When a employee update, his data...
View Article[Snippet] Switch language with URL
Some people around net are digging about how to make their website using multiple languages and allow users to switch this from within URL without modifying routes, adding new routes or using some...
View ArticleCommunityAuth Login/Logout Hooks/Functions
I'm looking for the best way to implement the following... I have CommunityAuth up and running, works great. But I want to log/audit login/logout actions. I have a separate auditlog() function already...
View ArticleIF Query
Hello everybody, I have a problem with an IF. For this query, the total amount of the article should be checked. If it is exactly 0, an update will be executed. But if it is above that, it should be...
View ArticleCSRF Protection
What else do I have to besides inserting PHP Code: <input type="hidden" name="<?= csrf_token() ?>" value="<?= csrf_hash() ?>" /> inside my form?
View ArticleSplit String and Number in PHP
Hello guys, i have a text field where a user enters their name and number, and i want to insert the number only, how do i achieve this in my controller?The text field is called recipients and the...
View ArticleLive Chat & Notification
What is the best way to implement live chat and notification system, any suggestion would be great? Thanks in advance
View ArticleHow to Add Dynamic Header and Footer
Here is my code: controllers/Home.php PHP Code: <?phpdefined('BASEPATH') OR exit('No direct script access allowed');class Home extends CI_Controller { public function __construct() {...
View ArticlePerformance of CSS Transitions
I've been working on a new website template, and it incorporates one of those off-canvas type menus. I got the idea from Youtube, because I really liked how their menu worked. So, I set out to more or...
View Article[split] admin login
Hello every one, I am new here . I need some help I have developed a project in codeigniter but I have Admin Auth Problem I have authenticate the admin controller but Classes of admin controller are...
View ArticleForm update not updated in main page but updated in database
Hi, I need some assistance with my coding. I have a page where user can edit the data that have been created. Currently, I am facing the following issues 1) Form is updated but at the main page, it is...
View ArticleCodeigniter Email Attachment name not support Unicode?
Hi, I tried sending an attachment containing Unicode characters, and the attachment was sent successfully. But the Unicode characters were removed from the file name. For example, if I send an...
View ArticleCI 4 application testing
Hi How to test application in CI4. Ex: i will test URI /admin/login with AdminLoginController.php send form data : username and password Please help me test it. Tks all
View Article