Jump to content

Recommended Posts

hi there,

i'm considering using one framework in order to migrate an "home" application in a more professional one.

so i have 2 questions for you:

1) which framework?(never used one, i always programmed with notepad++)

2) when i create a query does a generic framework take care trasforming it in a prepare statement or there still be the problem with injections?

3) what about security in general using a framework??(xss, sql injection, .....)

Link to comment
https://forums.phpfreaks.com/topic/252103-framework-and-prepared-statement/
Share on other sites

1) If you've never used a framework, then you can't go wrong with CodeIgniter. It has the best documentation by far, and is generally pretty beginner friendly - plus it's awesome.

 

2) Yes, generally SQL injection isn't an issue.

 

3) Most frameworks have lots of functionality that make security a lot easier and safer. Remember that frameworks are community driven, so security holes are usually found and patched quickly.

does the framework deal himself with the prepared statement or i have to prepare the statement myself and then feed it to the framework?

 

Like I said, you still need to know how to program.

 

we don't get each other.......

i still have to do

$sql->prepare(query)
$sql->bind_param(param)
$sql->execute()

 

or it does that automagically?

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.