Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New to the CF scene
    Join Date
    Aug 2007
    Location
    Plymouth, UK
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Restrict database access in php

    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?

  • #2
    Super Moderator Inigoesdr's Avatar
    Join Date
    Mar 2007
    Location
    Florida, USA
    Posts
    3,638
    Thanks
    2
    Thanked 404 Times in 396 Posts
    Probably not without a custom extension or something similar.
    Last edited by Inigoesdr; 08-14-2007 at 10:28 PM.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •