Jump to content

joea

Members
  • Posts

    4
  • Joined

  • Last visited

joea's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. if (preg_match('/window\.open/',$line)) will do this job for single line text if (preg_match('/window\.open/s',$line)) if there any line breakes in $line
  2. You will have your database hacked with this piece of code. Sanitize your variables and use mysql_real_escape_string. BTW, there is nothing on line 41 that could cause PHP error.
  3. Here is my code: $qry = "begin :x := zmm_functions.update_message_by_id('$message_id','$sec_id', '$variables', '$name', '$xbody', '$changed_by', '$status', '$xbody2'); end;"; $ObStmt = oci_parse($this->dbCon, $qry); oci_bind_by_name($ObStmt, ":x", $returnData, 3200); $outcome = oci_execute($ObStmt); update_message_by_id is Oracle function that simply takes whatever is passed and updates Oracle table where $xbody and $xbody2 are CLOB fields. This code above works great up to 32K in $xbody and/or $xbody2. Any ideas?
×
×
  • 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.