[PHP-DEV] CVS Account Request: henrywang
Developing the PHP runtime Maintaining www.php.net -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP-DEV] Bug #14106: mysql_insert_id() fails
From: [EMAIL PROTECTED] Operating system: SuSe Linux 7.3 PHP version: 4.0.6 PHP Bug Type: MySQL related Bug description: mysql_insert_id() fails i do something like this: $result=mysql_query($query, $dblink); if(! $result) die($query); $messageid=mysql_insert_id($result); it worked with older versions of php but fails reporting Supplied argument is not a valid MySQL-Link resource now even if the query is inserted sucessfull. -- Edit bug report at: http://bugs.php.net/?id=14106edit=1 -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP-DEV] Bug #11566: It appears most functions don't check open_basedir
From: [EMAIL PROTECTED] Operating system: linux PHP version: 4.0.5 PHP Bug Type: PHP options/info functions Bug description: It appears most functions don't check open_basedir It appears most functions that accept path/filename args don't check open_basedir. The following code needs to be added to many functions after the convert_to_string_ex function call: if (php_check_open_basedir((*filename)-value.str.val)) RETURN_FALSE; where 'filename' could of course change. (this check is typically inserted before the safe_mode check since safe_mode is often not used because of it's limiting factor for ISPs) -- Edit Bug report at: http://bugs.php.net/?id=11566edit=1 -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]