Safe Mode On-Off Issue in chat script

I am trying to set up a PHP chat script on a server with Safe Mode ON. The script says it is designed for Safe Mode Off but can be altered with some type of code script work-around and will work under Safe Mode On but I don't know what to do.

Can anyone help an old "slightly above newbie" level person correct the problem and make the script work? If so, I need newbie level, examples of what steps to take to fix the problem.

My host WILL NOT allow the Safe Mode settings in the php.ini file to be changed to Safe Mode Off.

Thanks in advance for any help.

Mr. Happy

By Anonymous on

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

Safe Mode On-Off Issue in chat script

If you're using the Apache webserver, create your own .htaccess file declaring Safe Mode OFF and drop it into your web space directory.

...assuming your host allows for this.

Safe Mode On-Off Issue in chat script

There are some variables that PHP won't allow you to change on a per directory/script basis. I'm fairly certain that safe mode is going to be one of those.

Without any specifics on the script or why it requires safe mode to be off I can't give you any more info though (and possibly not in any case as I've never knowingly dealt with safe mode issues... never turned it on, not that parnoid)

Stalk me!

Drupal Association Member