using mysqli(...) in "PHP safe mode"
Posted: Fri Mar 27, 2009 2:31 pm
Ok, this one has me baffled.
I had a free web hosting service through Cisco that allowed MYSQL. Through some struggling I finally got their undocumented internal MYSQL scripts to work and got my db up and running.
When I attempted to connect to this database through PHP using
@ $db = new mysqli('hostname','mysqlusername','mysqluserpassword','databasename') ;
it crashed.
I contacted the help desk for this free hosting service and was told that perhaps my problem was that I was that mysqli (the oop call) might not work in php safe mode.
Can anyone either point me to some documentation that can enlighten me about this, or explain it to me (using small words since I'm an old retired guy)?
I've since been punted off this free system for giving the help desk guy my password so he could look at my php code directly.
Apparently giving the help desk guy, who has sysadmin privileges, your password so he can have access to your code is a violation of security protocol. 
I had a free web hosting service through Cisco that allowed MYSQL. Through some struggling I finally got their undocumented internal MYSQL scripts to work and got my db up and running.
When I attempted to connect to this database through PHP using
@ $db = new mysqli('hostname','mysqlusername','mysqluserpassword','databasename') ;
it crashed.
I contacted the help desk for this free hosting service and was told that perhaps my problem was that I was that mysqli (the oop call) might not work in php safe mode.
Can anyone either point me to some documentation that can enlighten me about this, or explain it to me (using small words since I'm an old retired guy)?