php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #50388 MySQL safe mode support
Submitted: 2009-12-04 17:28 UTC Modified: 2011-01-04 20:50 UTC
From: orcan at nbcs dot rutgers dot edu Assigned: mysql (profile)
Status: Wont fix Package: MySQLi related
PHP Version: 5.3SVN-2009-12-04 (SVN) OS: solaris
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: orcan at nbcs dot rutgers dot edu
New email:
PHP Version: OS:

 

 [2009-12-04 17:28 UTC] orcan at nbcs dot rutgers dot edu
Description:
------------
We, at Rutgers, need mysql safe mode support in mysqli. I have made this patch that can be applied to the current svn. Please consider applying it. Thanks.


Patches

php5-mysqli-safe-mode (last revision 2010-04-23 23:57 UTC by orcan at nbcs dot rutgers dot edu)

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2009-12-04 17:31 UTC] orcan at nbcs dot rutgers dot edu
Sorry, I couldn't attach the patch (is there a way?). Here is a link to it:
http://pastebin.ca/1702061
 [2010-03-19 23:44 UTC] orcan at nbcs dot rutgers dot edu
Ping?

Is this the right place to submit patches? What else do I need to do to get noticed?
 [2010-04-23 02:27 UTC] kalle@php.net
-Status: Open +Status: Feedback -Package: Feature/Change Request +Package: *General Issues
 [2010-04-23 02:27 UTC] kalle@php.net
Hi

Could you please re-upload the patch to the bug tracker and change the status back to 'Open' when done? The patch does not seems to be accessible.
 [2010-04-24 01:59 UTC] orcan at nbcs dot rutgers dot edu
-Status: Feedback +Status: Open
 [2010-04-24 01:59 UTC] orcan at nbcs dot rutgers dot edu
Sure. Here you go.
 [2010-04-24 02:11 UTC] felipe@php.net
-Status: Open +Status: Assigned -Package: *General Issues +Package: MySQLi related -Assigned To: +Assigned To: mysql
 [2011-01-04 13:56 UTC] uw@php.net
-Status: Assigned +Status: Wont fix
 [2011-01-04 13:57 UTC] uw@php.net
http://php.net/manual/en/features.safe-mode.php

This feature has been DEPRECATED as of PHP 5.3.0. Relying on this feature is highly discouraged.
 [2011-01-04 20:17 UTC] orcan at nbcs dot rutgers dot edu
hmm, ok. so what is the encouraged way of using mysql safe mode support in mysqli? (did I say we need this feature?)
 [2011-01-04 20:50 UTC] orcan at nbcs dot rutgers dot edu
I believe that you gave me the wrong link. The link is about "PHP safe mode" being deprecated. My query is about "MySQL safe mode" support in PHP, which is *not* declared deprecated:
   http://php.net/manual/en/ini.core.php#ini.sect.sql-general

They are obviously not the same thing.

Please reopen the ticket, or give a better explanation.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Wed Apr 02 01:01:29 2025 UTC