Welcome Guest, Not a member yet? Register   Sign In
Search Results
    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 bes...
7,577 Views
5 Replies
06-21-2017, 06:13 AM
pb.sajjad
    Thread: is_unique for encrypted data
Post: RE: is_unique for encrypted data

dunkindonato Wrote: (03-14-2017, 07:08 AM) -- pb.sajjad Wrote: (03-13-2017, 03:58 PM) -- Hi to all... I decide to encrypt user's sensitive data (tel, address,...) using CI encryption library. In fo...
6,169 Views
4 Replies
03-15-2017, 07:02 AM
pb.sajjad
    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...
6,169 Views
4 Replies
03-13-2017, 03:58 PM
pb.sajjad
    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 ...
5,389 Views
2 Replies
12-07-2016, 04:17 AM
pb.sajjad
    Thread: Error Handling
Post: RE: Error Handling

mubbi.qureshi Wrote: (08-25-2016, 10:14 AM) -- 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 ...
3,503 Views
2 Replies
08-26-2016, 12:49 AM
pb.sajjad
    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 vi...
3,503 Views
2 Replies
08-25-2016, 09:37 AM
pb.sajjad
    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:...
2,699 Views
1 Replies
07-29-2016, 12:29 AM
pb.sajjad
    Thread: Regenerate CSRF token and AJAX
Post: RE: Regenerate CSRF token and AJAX

PaulD Wrote: (07-18-2016, 07:12 AM) -- 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. Alter...
10,404 Views
4 Replies
07-18-2016, 07:50 AM
pb.sajjad
    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 cit...
10,404 Views
4 Replies
07-18-2016, 04:28 AM
pb.sajjad
    Thread: Are you sure about handling SECURITY?!
Post: RE: Are you sure about handling SECURITY?!

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

PaulD Wrote: (07-17-2016, 01:22 PM) -- 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 ...
15,391 Views
8 Replies
07-17-2016, 02:46 PM
pb.sajjad
    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 ...
15,391 Views
8 Replies
07-17-2016, 12:48 PM
pb.sajjad
    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 complet...
15,391 Views
8 Replies
07-15-2016, 06:52 AM
pb.sajjad
    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...
5,974 Views
4 Replies
07-05-2016, 03:15 AM
pb.sajjad
    Thread: Database Timezone
Post: RE: Database Timezone

PaulD Wrote: (06-15-2016, 04:33 PM) -- 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...
7,530 Views
4 Replies
07-02-2016, 05:46 PM
pb.sajjad
    Thread: Database Timezone
Post: RE: Database Timezone

InsiteFX Wrote: (06-15-2016, 03:31 AM) -- Read this it may help you. How To Synchronize Your PHP and MySQL Timezones (https://www.sitepoint.com/synchronize-php-mysql-timezone-configuration/) -- ...
7,530 Views
4 Replies
06-15-2016, 03:57 PM
pb.sajjad
    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_t...
7,530 Views
4 Replies
06-14-2016, 08:47 PM
pb.sajjad
    Thread: Store img tags in database and retrieve it
Post: RE: Store img tags in database and retrieve it

InsiteFX Wrote: (05-15-2016, 06:23 AM) -- You can read this post on CKEditor: Image Path (http://docs.cksource.com/CKEditor_3.x/Developers_Guide/File_Browser_(Uploader)) I use this filemanager ...
11,562 Views
8 Replies
05-15-2016, 06:39 AM
pb.sajjad
    Thread: Store img tags in database and retrieve it
Post: RE: Store img tags in database and retrieve it

cartalot Wrote: (05-14-2016, 12:57 PM) -- 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 thi...
11,562 Views
8 Replies
05-14-2016, 01:25 PM
pb.sajjad
    Thread: Store img tags in database and retrieve it
Post: Store img tags in database and retrieve it

Hi to all developers... When I developing an web application on localhost, every time that I want use tag, I use base_url(); method to referring to image's path.
11,562 Views
8 Replies
05-14-2016, 12:39 PM
pb.sajjad

Theme © iAndrew 2016 - Forum software by © MyBB