ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> php-db
php-db
Re: [PHP-DB] apostrophes everywhere
by Stut other posts by this author
Feb 20 2006 12:16AM messages near this date
Re: [PHP-DB] apostrophes everywhere | Re: [PHP-DB] apostrophes everywhere
sub@[...].com wrote:

> I looked at serveral of the function suggestions and indeed stumbled accross
> htmlspecialchars when doing research on another suggestion:
> mysqli_real_escape_string which I couldn't use since I'm not on PHP5. While
> htmlspecialchars may not offer as much security as the later it should would
> for my purposes.
>   
> 
Just to clarify, my suggestion was mysql_real_escape_string, not 
mysqli_real_escape_string. The former is available on PHP4 > = 4.3.0 and 
PHP5. That's the function the link I posted goes to 
(http://php.net/mysql_real_escape_string).

-Stut

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Thread:
Andrew Darrow
Stut
sub
Stut
Julien Bonastre

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved