News Feed
Jobs Feed
Sections

Recent Jobs

News Archive
feed this:

Stefan Esser's Blog:
CORE GRASP - PHP Tainted Mode
August 22, 2007 @ 16:19:27

Stefan Esser points out a new patch today - CORE GRASP - from the Core Security Technologies group that provides taint support surrounding the mysql_query function.

Their implementation adds a tainted or not flag for every byte so that it is possible on invocation of mysql_query() to determine any kind of injection.

Unfortunately, Stefan also mentions two big issues it might have from the get-go: the overhead for the memory needed can slow things down and an incorrect parsing in their query handler could lead to injection attacks.

0 comments voice your opinion now!
core grasp patch php5 taint support mysqlquery security technologies core grasp patch php5 taint support mysqlquery security technologies



Internet Super Hero Blog:
PHP mysqli_stmt_get_result()
August 22, 2007 @ 13:48:00

Frustrated with the lack of something simple (like mysql_fetch_assoc) in the new mysqli extension, this new function was created an posted about on the Internet Super Hero blog - mysqli_stmt_get_results.

By help of the new function, you can create a mysqli_result object from a statement that returns data (SELECT and other - version dependent!). Then you can use the mysqli_result object to process the returned data: fetch results, access meta data - all you can also do using a mysqli_result object returned by mysqli_query().

Included in the post are a few code examples showing the simplicity of the function and how it can still be used with the standard mysql_* functions to grab the results.

0 comments voice your opinion now!
bind value mysqlstmtgetresult object mysqlquery simple bind value mysqlstmtgetresult object mysqlquery simple



Community Events









Don't see your event here?
Let us know!


application cakephp PHP5 developer example zend ajax mysql job conference package database security code release framework releases PEAR book zendframework

All content copyright, 2008 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework