PHPTESTOR
Similar to JSFiddle, PHPTESTOR ( http://phptester.net/ ) could be useful to someone. I've used it a couple of times. Enjoy.
View ArticlePage title from database
Hi guys, I am looking for the best way to get the page title and description for blog posts loaded dynamically. For the moment in my controller I have something like: $this->data['blog_result'] =...
View ArticleAjax forbidden 403
Hi at all , sorry for english , i have a problem with ajax in this site http://preventivoamianto.altervista.org/...istrazione i use ajax in several project but i cannot know why in this i haven't...
View Articlegrocery crud / Ci 3
hi guys!! i have value in $id. how to pass the parameter $id $user = $this->ion_auth->user()->row(); $id = $user->id; public function testeveiculos() { $crud = new...
View ArticleCI3 or CI4 for Q3 2018 to Q1 2020 at least?
Hi. I'm new here. A little bit about myself, I started learning PHP4 as a hobby back in the days when I was 18 years old. I created a website where you can search and download MP3s illegally. I had so...
View ArticleSpelling Error in Models
Using CodeIgniter’s Model Defining Callbacks PHP Code: protected function hashPassword(array $data){ if (! isset($data['data']['password']) return $data; $data['data']['password_hash'] =...
View Article[split] CodeIgniter 3.1.9 released - Spanish translation
Dear friends, I want to use CodeIgniter, but I do not know English, with google translate I've made a translation of the manual into Spanish, I've written it in a .pdf for Hispanics who are just like...
View Articleautoload
i am playing with CI4 as well, and also developing in CI3. In ci4, there is the application/controllers/X.php where i can define controller and call http://localhost/class/method/ and it works fine....
View Articledevbar on 404
starting CI4 and getting a lot of 404 .. due to lack of enough examples to do stuff .. is there a possibility to show the dev bar on 404 so that it tells exactly why there is a 404 ? no erros in...
View ArticleSubquery
Hello, I'm new to Codeigniter and learn a lot every day I have a subquery that works perfectly in MSSQL. Code: SELECT SUM(Weight) as Total, Recipegroup, Production FROM (SELECT Rejectspecies,...
View Articledrivers/Session_files_driver.php
Severity: Warning Message: unlink(/tmp/ci_session3195883705fdcc11bcc62d0ebc38fa450f2e025a): Operation not permitted Filename: drivers/Session_files_driver.php Function: __construct Function:...
View ArticleHtaccess config to create page redirection
May I know what is the meaning of each lines in htaccess whenever a page is redirected? Thanks RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule...
View Articleupload
Hello, tell me how to properly load a file (any)? I turned to the manual and use PHP Code: $this->request->getFile() but it did not help, kept getting data about the file "NULL"... It's...
View ArticleGithub bought by Microsoft?
Guys, Now that Microsoft is the owner of Github. Are you happy? Are you sad? It will remain open source by the way said by Microsoft CEO. Are you still using it? what is your opinion to this?
View ArticleSecurity related to controller URL
I have a URL for controller http://localhost/userTest/test Now when i open the URL in the browser its not showing the forbidden page but the data coming from the Controller function. I need to...
View ArticleSet Base URL to background image path in External CSS
Any one can help me to add base url to my background image path in my external css. My code like below. PHP Code: aside.main-sidebar{ background-image: linear-gradient(90deg, rgba(0,0,0,0.4),...
View ArticleBitnami & CodeIgniter
Hello. I am trying out bitnami with codeigniter but cannot seem to access the url like I did with normal wamp. I have bitnami wamp stack But when I type in http://localhost/codeigniter nothing shows up...
View ArticleREST_Controller - Generating the API-KEYs?
Hi All, I've installed the REST library by chriskacerguis and turned on API-KEY authentication. I'm building an API to be consumed by web and mobile apps (my own). Can anyone describe the actual steps...
View ArticleWhat's more secure than? when showing user id data
So here I am playing again with CodeIgniter and I tried modifying my User controller and some private pages and I just realized that when accessing to pages like "cart.php" I can do this in order to...
View Article