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

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 Article


Subdomain 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 Article


Image may be NSFW.
Clik here to view.

advice 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 Article

CI 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 Article


Long 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 Article

change 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 Article

Edit 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


Image may be NSFW.
Clik here to view.

[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 Article


CommunityAuth 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 Article

IF 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 Article

CSRF Protection

What else do I have to besides inserting  PHP Code: <input type="hidden" name="<?= csrf_token() ?>" value="<?= csrf_hash() ?>" />  inside my form?

View Article

Split 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 Article


Image may be NSFW.
Clik here to view.

Live Chat & Notification

What is the best way to implement live chat and notification system, any suggestion would be great? Thanks in advance

View Article

How 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 Article


Performance 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 Article


Image may be NSFW.
Clik here to view.

Form 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 Article

Codeigniter 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 Article

CI 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
Browsing all 14348 articles
Browse latest View live


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