[TYPO3-core] RFC: fix dependency on PHP 4.3 in t3lib_db
Martin Kutschker
Martin.Kutschker at blackbox.net
Mon Jan 2 09:49:04 CET 2006
Martin Kutschker writes on
Mon, 02 Jan 2006 09:48:01 +0100 (MET):
> This is a CVS patch request
>
> Branch: HEAD or TYPO3_4-0
>
> Problem: While mysql_real_escape_string is the best way to escape DB
> values it's only available since PHP 4.3 and it needs a valid link
> identifier.
>
> Solution: Test link and fallback to mysql_escape_string.
>
> Note: I'm not sure if we really need the link test as none of the
> other functions do it. Anyway I think the initialization to FALSE
> doesn't hurt.
Wrong patch. Here's the correct one.
Masi
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: text/x-diff
Size: 1076 bytes
Desc: not available
Url : http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20060102/a6f298a1/attachment.bin
More information about the TYPO3-team-core
mailing list