Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: How to create Admin Section in CodeIgniter Project?
Post: RE: How to create Admin Section in CodeIgniter Pro...

(03-23-2017, 10:21 PM)Shivafeb17 Wrote: Hi all,  I have created a simple project in CI. Now I want to create users and Admins. How to create an area only admin can login and modify data? Should I c...
pb.sajjad Best Practices 6 10,093 06-21-2017, 12:03 PM
    Thread: Query Caching or NOT?!!!
Post: Query Caching or NOT?!!!

Hi to all developers... I'm using last version of CI, created a blog system (some posts, series, commenting, payment link, login,... and more) and want run it on a shared host. In order to get best p...
pb.sajjad Best Practices 5 4,792 06-21-2017, 06:13 AM
    Thread: is_unique for encrypted data
Post: RE: is_unique for encrypted data

(03-14-2017, 07:08 AM)dunkindonato Wrote: (03-13-2017, 03:58 PM)pb.sajjad Wrote: Hi to all... I decide to encrypt user's sensitive data (tel, address,...) using CI encryption library. In form vali...
pb.sajjad Best Practices 4 4,081 03-15-2017, 07:02 AM
    Thread: is_unique for encrypted data
Post: is_unique for encrypted data

Hi to all... I decide to encrypt user's sensitive data (tel, address,...) using CI encryption library. In form validation rules, for some fields like mobile number, I used is_unique[table.field]. But ...
pb.sajjad Best Practices 4 4,081 03-13-2017, 03:58 PM
    Thread: sitemap + pages which requires login
Post: sitemap + pages which requires login

Hi to all developers... I create a sitemap.xml file for my website and put all pages links in it. In my website, there are pages that requires user login and then could access to those. My question is...
pb.sajjad Best Practices 2 3,153 12-07-2016, 04:17 AM
    Thread: Error Handling
Post: RE: Error Handling

(08-25-2016, 10:14 AM)mubbi.qureshi Wrote: In Codeigniter 3.X you have extra folder in views called "errors", you can all type of errors view from there to make it user friendly Thanks. But I know a...
pb.sajjad Best Practices 2 2,150 08-26-2016, 12:49 AM
    Thread: Error Handling
Post: Error Handling

Hi to all developers... In CI documentation, I've read what I must do for error handling when finishing app development. And also I've design a custom 404 error page for a better and user friendly vie...
pb.sajjad Best Practices 2 2,150 08-25-2016, 09:37 AM
    Thread: Routing bad URLs
Post: Routing bad URLs

Hi to all developers... My question is about routing and redirect bad URLs. Suppose I've a controller, User, with some methods, method_1, method_2, method_3. When I passed parameters to methods: My...
pb.sajjad Best Practices 1 1,773 07-29-2016, 12:29 AM
    Thread: Regenerate CSRF token and AJAX
Post: RE: Regenerate CSRF token and AJAX

(07-18-2016, 07:12 AM)PaulD Wrote: If your AJAX uses a get instead of a post you will not have the issue as CSRF only works on post data. It sounds like you should be using a get anyway. Alternativ...
pb.sajjad Best Practices 4 7,361 07-18-2016, 07:50 AM
    Thread: Regenerate CSRF token and AJAX
Post: Regenerate CSRF token and AJAX

Hi to all... I enable CSRF in my app with ajax calling. I know how to handle CSRF protection while using ajax. But in part of my app, there is a cascading select elements (one for state and one citie...
pb.sajjad Best Practices 4 7,361 07-18-2016, 04:28 AM
    Thread: Are you sure about handling SECURITY?!
Post: RE: Are you sure about handling SECURITY?!

(07-17-2016, 04:00 PM)PaulD Wrote: Hi again, HTML Purifier: (The apple) Quote:HTML Purifier will not only remove all malicious code (better known as XSS) with a thoroughly audited, secure yet permi...
pb.sajjad Best Practices 8 9,169 07-18-2016, 03:27 AM
    Thread: Are you sure about handling SECURITY?!
Post: RE: Are you sure about handling SECURITY?!

(07-17-2016, 01:22 PM)PaulD Wrote: Quote:about regex that you mentioned it's overkill! I think it is so powerful and I use it. In this case, maybe you're right, but in other cases, it will be useful...
pb.sajjad Best Practices 8 9,169 07-17-2016, 02:46 PM
    Thread: Are you sure about handling SECURITY?!
Post: RE: Are you sure about handling SECURITY?!

Thanks for your attention... about regex that you mentioned it's overkill! I think it is so powerful and I use it. In this case, maybe you're right, but in other cases, it will be useful and I can va...
pb.sajjad Best Practices 8 9,169 07-17-2016, 12:48 PM
    Thread: Are you sure about handling SECURITY?!
Post: Are you sure about handling SECURITY?!

Hi to all developers... NOTICE! Dear developer... If you're tired or has no sufficient time to read this, please skip it for now and come back later! We would try to this post be a good and complete ...
pb.sajjad Best Practices 8 9,169 07-15-2016, 06:52 AM
    Thread: CI3: Apache vs Lightspeed Server
Post: CI3: Apache vs Lightspeed Server

Hi to all developers... I've read some posts that said running an app on linux with Apache server is not good and efficient and maybe slow when visitors will being more and more. Now I've developed a ...
pb.sajjad Best Practices 4 3,732 07-05-2016, 03:15 AM
    Thread: Database Timezone
Post: RE: Database Timezone

(06-15-2016, 04:33 PM)PaulD Wrote: It was a great article though. It sounds like you need to contact your web host. Paul. I contact. they said "You will not be able to change any MySQL settings on...
pb.sajjad Best Practices 4 4,787 07-02-2016, 05:46 PM
    Thread: Database Timezone
Post: RE: Database Timezone

(06-15-2016, 03:31 AM)InsiteFX Wrote: Read this it may help you. How To Synchronize Your PHP and MySQL Timezones No help!
pb.sajjad Best Practices 4 4,787 06-15-2016, 03:57 PM
    Thread: Database Timezone
Post: Database Timezone

Hi to all developers... In my web app, some of datetime insert automatically on insert data (using timestamp) and some manually (set with php date function and then insert). I've set date_default_tim...
pb.sajjad Best Practices 4 4,787 06-14-2016, 08:47 PM
    Thread: Store img tags in database and retrieve it
Post: RE: Store img tags in database and retrieve it

(05-15-2016, 06:23 AM)InsiteFX Wrote: You can read this post on CKEditor: Image Path I use this filemanager with CKEditor and the links are setup like above link. Responsive Filemanager The file...
pb.sajjad Best Practices 8 7,775 05-15-2016, 06:39 AM
    Thread: Store img tags in database and retrieve it
Post: RE: Store img tags in database and retrieve it

(05-14-2016, 12:57 PM)cartalot Wrote: store just the image name in your database: sample.jpg deal with the rest of the image path in a different way - helper, site wide variable, etc. I think a misu...
pb.sajjad Best Practices 8 7,775 05-14-2016, 01:25 PM

  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.