[PHP-DEV] A little idea about pg_fetch_all ( resource result)

2004-02-03 Thread ing . Martin Prášek
In most databases an queries , there is primary key/unique constraint so i suggest to enhnace function pg_fetch_all ( resource result) to pg_fetch_all ( resource result,[string key_column_name]) bz adding a second optional parameter, so anybody can access all returned data like this: $d

[PHP-DEV] Extending PHP with sandbox capability ?

2003-12-20 Thread ing . Martin Prášek
Sandbox ? I have been forced to create PHP application that need inside execution of code snipplets from untrusted users and do it as secure as possible. I see it is not possible for some security raesons. (db connection,resources etc.). So I suggest to add a simple sandbox capability to PH