Jump to content

wanner

New Members
  • Posts

    3
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

wanner's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Hi, I am using Joomla 1.5. I have a question about escaping my data before inserting it into the db. Do i need to escape my data when using JTable::store() ? Thanks!
  2. My problem is that I use mysql_real_escape_string to escape the data before inserting it into the database. Then when i want to display the data newlines and enters gets replaced with \n and \r etc.
  3. Hi, I have a textarea, and I want to escape the data before it is stored in the database to prevent mysql injections. First i thought to use mysql_real_escape_string(). However this causes problems in some cases when the data is to be displayed. So my question is if it is safe to use urlencode() to prevent from mysql_injections? It would be great if it is since i can then simply urldecode() before displaying the data. Thanks!
×
×
  • 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.