Welcome Guest, Not a member yet? Register   Sign In
Search Results
    Thread: How to differentiate ajax- and non-ajax-request?
Post: How to differentiate ajax- and non-ajax-request?

Hello, I try to ajaxify my project and this works perfectly. The ajax onclick event works. But when I visit the url through my browser (e. g. visit my homepage via external website) of course no c...
895 Views
1 Replies
03-04-2023, 03:38 AM
hobbyci
    Thread: Will CI 3.x work properly with PHP 8.x?
Post: RE: Will CI 3.x work properly with PHP 8.x?

You can test CI 3.1.11 with PHP 8 on a local server. You can take a look at the differences from PHP 7 to 8 and search the specific functions in a good PHP IDE and then you can change it. Bit of...
7,624 Views
5 Replies
04-30-2021, 03:19 PM
hobbyci
    Thread: Contact form (how to reduce dependencies?) 3.1.11
Post: RE: Contact form (how to reduce dependencies?) 3.1...

EAV is what I do not want to use. But maybe I should give this a try. Thanks for your answer.
1,846 Views
2 Replies
04-29-2021, 03:45 AM
hobbyci
    Thread: Contact form (how to reduce dependencies?) 3.1.11
Post: Contact form (how to reduce dependencies?) 3.1.11

Hello Forum, I would like to have some hints how to solve this problem. Making a simple contact form (name, email, message) and send emails to me and a verification email to the user and also st...
1,846 Views
2 Replies
04-27-2021, 08:05 AM
hobbyci
    Thread: How to root permissions effectively? (CI 3.11)
Post: RE: How to root permissions effectively? (CI 3.11)

Thank you.
2,238 Views
4 Replies
01-18-2021, 10:44 AM
hobbyci
    Thread: How to root permissions effectively? (CI 3.11)
Post: RE: How to root permissions effectively? (CI 3.11)

Thanks for your answer. I will manage like you´ve suggested. Via a library.
2,238 Views
4 Replies
01-16-2021, 11:39 AM
hobbyci
    Thread: How to root permissions effectively? (CI 3.11)
Post: How to root permissions effectively? (CI 3.11)

Hello, for the sake of practice to get better and better I plan a login script. I want to share my idea and need some feedback. tables: user -id (primary) -name -email -role_id (Foreig...
2,238 Views
4 Replies
01-08-2021, 08:31 AM
hobbyci
    Thread: Bbcode support in helper
Post: RE: Bbcode support in helper

I handle BBCodes via JS, not via PHP. Take a look at http://github.com/patorjk/Extendible-BBCode-Parser (https://github.com/patorjk/Extendible-BBCode-Parser) It is easy to setup, easy to extend ...
4,495 Views
4 Replies
10-10-2020, 01:44 PM
hobbyci
    Thread: About security->xss_clean() function
Post: RE: About security->xss_clean() function

There is also a escape-function. Callable everywhere in your appliction. esc($string)
3,588 Views
3 Replies
10-09-2020, 12:18 AM
hobbyci
    Thread: Store HTML in database
Post: RE: Store HTML in database

I would allow specific BBC-Tags. Not pure HTML. Than you can convert the tags to the corresponding HTML tag. First rule for security: Never trust user input Edit: If you really want storing HTM...
1,550 Views
1 Replies
10-07-2020, 11:51 AM
hobbyci
    Thread: Suggestion for Best practice for Menu rbac
Post: RE: Suggestion for Best practice for Menu rbac

This is very bad practice in my opinion. You generate html in php. You can do this. But if you do it, use the advantage of php. One advantage is: generate dynamic output. Another point is: a coup...
3,003 Views
3 Replies
10-06-2020, 03:36 AM
hobbyci
    Thread: Best way to project, plan and structure an app with CI
Post: RE: Best way to project, plan and structure an app...

I do it this way: 1) I think about, what kind of data I want to show -> I get my routes 2) I desgin my views. 3) 2) results in my database structure and via normalizing I get the correct "jo...
13,773 Views
9 Replies
08-27-2020, 04:24 PM
hobbyci
    Thread: How to add forum to my website
Post: RE: How to add forum to my website

If someone is interested in this topic. If you have coded a blog it can be easily extendet to a forum. Think of it.
5,066 Views
5 Replies
07-24-2020, 06:32 AM
hobbyci
    Thread: AJAX Pagination
Post: AJAX Pagination

Hello, I am using CI 4 since a couple of weeks and play around to learn the basics. I wrote a guestbook and I fetch the entries via AJAX and this works wonderful. Now what I w...
1,093 Views
0 Replies
07-15-2020, 08:55 AM
hobbyci

Theme © iAndrew 2016 - Forum software by © MyBB