Checking if a user has submitted an approval with if statements
Is a user has composed a message, other users be able to should approve the message but the message Author should only delete and edit not approve. The below if statement is supposed to work for that...
View ArticleMoving applications and system folder to Dropbox
New CI user here. I am developing a site using two different machines. I have XAMPP installed and running both at home (Win10) and at work (Mac OS X). I have installed CI on both systems. My goal is to...
View ArticleCommunity auth for full password protected website
I need some support on this. I have a full password protected website on several controllers. All I need is being able to check if there someone is logged in and if yes display the views or login form....
View Articlecodeigniter3 file uploading not working
I have facing a problem on codeigniter3 file upload. getting following response "is currently unable to handle this request. HTTP ERROR 500" Not getting any errors. but validation working fine....
View ArticleDocument Root
Hi friends, For testing, I upload CI 4 on my testing server and finding how I can set document root to CI public folder, but I can not find so, I talk to my hosting provider and he said we do not allow...
View ArticleHow to use case statement instead of if statement in codeigniter
I have a code below which seems not to be working so I would want to try case statement instead Code: <td> <?php $is_author = $message->user_id ==...
View ArticleSession issues
Sessions in a browser get other sessions by another users. For eg: User A -> Browser Chrome -> IP 192.168.0.105 User B -> Browser Mozilla -> IP 192.168.0.200 ... User H... If you sign in on...
View ArticleCodeIgniter 3.1.2 released
CodeIgniter 3.1.2 was released today, with some security fixes, bug fixes and enhancements. Security: Fixed some xss_clean() vulnerabilities in the Security library. Enhancements: allowing PHP4 style...
View Articlestandard Form Validation for textareas
Hello, what do you all use for set_rules for a textarea: I have so far: PHP Code: $this->form_validation->set_rules('f_why', 'Why or why not?', array('trim','max_length[400]',...
View ArticleURI handling
On CI 3.1.0 For my site If I enter http://<domainname>/search/results?type=event, all works fine However if I enter http://<domainname>/search/results/&type=event I get this error...
View ArticleUsage of some deprecated methods
Hi, I am not sure if this is the correct sub-forum. If it is not, please tell me where is the correct place. I am using PHP 7.0.9 with the latest release of CI (3.1.0) I added a hook for error...
View ArticleLanguage subdomain not working on hosting
Hi everyone. I'm using CI 3.1.0 and modify output languages by subdomain. For example: Quote:localhost:4001 for defaut language en.localhost:4001 for english output It woking good on localhost but...
View ArticleNeed someone for a new project
I am looking for some help, let me know if you are available for freelance work. Please post examples of your recent work.
View ArticleMultiple admin areas & user identification - best approach?
I am completely new to CodeIgniter, so please bear with me. To better understand and learn how CodeIgniter works, I am currently building a sample job board application with a login area using Ion...
View ArticleDuplicating (with slight modification) a MVC "module"
For the sake of discussion lets define a module as the model view and controller for a certain category of information displayed. In my example we have a "Clients" module that I want to replicate into...
View ArticlePHP / jQuery Developer Needed
Hi there, We are looking for a developer that is well versed in using both PHP (Codeigniter framework specifically) and jQuery javascript libraries. We are anticipating using open sources including...
View ArticleRest APIs Issues
Hi To All , I am Using Codeignter Restfull APIs . print_r($s); I am Getting Out Put Of the Array . But I am send response Like $this->response($s); I am Getting Empty Response . How To resolve the...
View ArticleTwig template for CI4
Hello. I think that CodeIgniter 4 should have integrate TWIG TEMPLATE. I am using this integration for CI3 https://github.com/kenjis/codeigniter-ss-twig
View ArticleConfirmations Email
Hello, i'm new in Codeigniter. I'm try to make login and registration user with email address. Link activation has been sended to user , and if user want to active their account its always failed to...
View ArticleUsing preg_replace_callback with a href
In my preg_replace_callback I can allow some elements to be showing in preview using the preg_replace_callback How ever when the user has typed in a link lets say <a...
View Article