Connect to remote database in phpstorm
Hello guys I use codeigniter in phpstorm noooooow I need connect to my host database remotely but i dont know how do use it
View ArticleCSRF problem issue
I am having a problem with csrf protection... I want to use it only in index page for login but after making the csrf config true it gives me error "action not allowed". How to remove other pages from...
View ArticleMake safety api
Hello I am programming app for shop that use api (restful) I afraid of hacker that get this api key and attach my webservice How do i protect it?
View ArticleSubmit td
Dear all, I am trying to submit some data from a table, in order to insert those to my db. But unfortunately I don't get anything from my table. Here is some code to understand my problem: View: Code:...
View ArticleGit flow / contribution question
May I know how to proceed with an unfinished work? Let's say I wanted to push my contributution but I got stuck to an issue 90% along the way. How and where should I push my code to get some help?...
View ArticleHow to change "id" in url
If my website is : web.com/index.php/z_tbl_user/update/119. What i afraid is then visitor could change it to be this : web.com/index.php/z_tbl_user/update/120. To prevent this i want to change so the...
View ArticleHow to Count the number of receipients and insert in the database
Hello guys, I am able to insert data in the database in the view below, my current problem is i want to save the total number of receivers, like lets say i am sending an sms to three receivers, i would...
View ArticleHow to tweak system/database/DB_cache.php
Hello, I need to make few changes in write() method but I do not want to change it in system folder because of possible updates etc. Is there any way I can tweak the function without changing the main...
View ArticleArray as language_key
Hello. Is it possible to use language_key as an array? For example, my language file looks like this: PHP Code: $lang = array_merge($lang, [ 'DASHBOARD' => 'Dashboard', 'DATETIME' => [...
View Articlehelp for profile implementation
Hi friends, I'd like to ask for advice in a small application I'm working. My job is to create an application with two profiles, administrator and user. For the implementation, my idea is to do a...
View ArticleCodeigniter 4, Windows 10, XAMPP 7.2.2 HTTP.pageNotFound
Hello Everyone Just done the download of codeigniter 4 dev from https://github.com/bcit-ci/CodeIgniter4 I have on my PC Xampp 7.2.2 that i use for Local Development of basic things. Its working 100%...
View ArticleStrange problem with file upload
Hello family. First I apologize if my english is not perfect, I translated automatically through google translate. I have a strange problem. First I try to upload mp3 files using the codeigniter upload...
View ArticleParse error: syntax error, unexpected '$autoload' (T_VARIABLE) in
Parse error: syntax error, unexpected '$autoload' (T_VARIABLE) in /opt/lampp/htdocs/codeigniter-login-registration/application/config/autoload.php on line 106 A PHP Error was encountered Severity:...
View ArticleUpgrading from 2.1.x to 3.1.x
I am looking for some guidance with migrating 30+ websites I have written in CI 2.1.x. These sites use HMVC, Sparks and a custom developed CMS Library that is rather complex. I have spent a few hours...
View ArticleCodeIgniter Comunidad de Colombia
Muy buenos días, tarde o noche en esta publicación quiero dar un saludo de manera amena a todos los colombianos que usan esta maravilloso FrameWork para el Desarrollo de sus proyectos. Identificar a...
View ArticleJavascript/Html Server side verification
Hi all ive been playing around and have a question that i just cant find a good answer. I have a HTML and send it to my controller through javascript. i have values in data-attributes I have just...
View Articlehow to make shorten url in codeigniter
Suppose my site has a get request with below URL. http://localhost/mysitename/MainController/Testmethod?areaname=abc But I want to alias the URL in shot form as like:...
View ArticleFailing to connect to database
Just started using CodeIgniter today following the tutorial on the site and ran into a problem with setting up the database. Looked around various other forums and sites for a couple hours to no avail...
View ArticleAbout oAuth2
Hello guys I'm sorry for my basic question I decide to use oAuth2 for my project (android and php) I cannot find good document about it I want to understand what is : -Scope -this field : userinfo...
View ArticleFacing a Forbidden issue
i am trying access controller function using ajax but its giving me an error of 403 forbidden. i have downloaded the repository from git hub and currently i am trying to set it up locally. any type of...
View Article