View Full Version : Restrict database access in php

08-14-2007, 06:39 PM
Hi all

On a server using php 5, we would like to *force* all mysql queries through a database class. Is there a way to restrict the mysql_open command in some scripts, while still allowing it inside the database class?

08-14-2007, 11:04 PM
Probably not without a custom extension or something similar.