Ignore:
Timestamp:
Apr 27, 2006 1:49:54 AM (18 years ago)
Author:
scdev
Message:

Q - Finished depreciating addslashes. array_map instances need to use array('DB', 'escapeString') as first argument.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bin/file_importer.php

    r42 r111  
    4343//                     added_datetime
    4444//                 ) VALUES (
    45 //                     '" . addslashes(0) . "',
    46 //                     '" . addslashes('hosting') . "',
    47 //                     '" . addslashes($file_date) . "',
    48 //                     '" . addslashes($amt[1]) . "',
    49 //                     '" . addslashes('Paid') . "',
    50 //                     '" . addslashes('') . "',
    51 //                     '" . addslashes($file_text) . "',
    52 //                     '" . addslashes($file_date) . "',
     45//                     '" . DB::escapeString(0) . "',
     46//                     '" . DB::escapeString('hosting') . "',
     47//                     '" . DB::escapeString($file_date) . "',
     48//                     '" . DB::escapeString($amt[1]) . "',
     49//                     '" . DB::escapeString('Paid') . "',
     50//                     '" . DB::escapeString('') . "',
     51//                     '" . DB::escapeString($file_text) . "',
     52//                     '" . DB::escapeString($file_date) . "',
    5353//                     NOW()
    5454//                 )
Note: See TracChangeset for help on using the changeset viewer.