safe mode problem

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Yannick Benoit

    safe mode problem

    Hey guys.
    I have a script that builds up galleries of pictures and then let people
    vote on them.
    the script admin is in a folder named: /admin and includes all db
    connections.

    Then each galleries generated by the script goes into
    /galleries/name1.2.3.etc.. .

    So I used to connect to my db for the voting using
    include("../admin/db_func.php");
    but now that safe mode is on I cant make it work anymore. Anyone has
    suggestions has to make this work ?

    Thank you very much

    Yang



  • Erwin Moller

    #2
    Re: safe mode problem

    Yannick Benoit wrote:
    [color=blue]
    > Hey guys.
    > I have a script that builds up galleries of pictures and then let people
    > vote on them.
    > the script admin is in a folder named: /admin and includes all db
    > connections.
    >
    > Then each galleries generated by the script goes into
    > /galleries/name1.2.3.etc.. .
    >
    > So I used to connect to my db for the voting using
    > include("../admin/db_func.php");
    > but now that safe mode is on I cant make it work anymore. Anyone has
    > suggestions has to make this work ?
    >
    > Thank you very much
    >
    > Yang[/color]

    Hi Yang,

    Why do you think safemode is the problem?

    I checked the reference:


    and didn't find any reason to believe that safemode is causing this, unless
    you managed to give the files different owners (combined with safe_mode_gid
    to 'on')

    If that is the case, the solution is simple too: make all owners of the
    files the same user.

    Regards,
    Erwin Moller

    Comment

    Working...