Hi all you crazy pll.
I can't get a tmpdir...or can I ??
My isp won't disable the safemode. Security -fair enough.
They don't want to upgrade to the latest version of PHP -because of backward compatibility issues.
He wants me to find a older version of phpopenchat -he wants to put me on an older php server wich allows individual tmpdir's to be created.
Is there a older "alright" working version of phpopenchat? I only need 1 to 1 chat...
Well I am stuck and need some expertise... what do you think??
Mikael web architect www.voyagermobiltech.com
Try this Mikael:
look here for the solution: https://sourceforge.net/forum/forum.php?thread_id=870460&forum_id=44845
you have te make a tmp dir in your chat directory
and give the fully path in conf_inc.php like this: Look at the last row:
if( ini_get('open_basedir') ) { define('TMPDIR', ini_get('open_basedir')); } else { if ( isset($_ENV['TEMP']) ) define('TMPDIR', $_ENV['TEMP']); elseif( isset($_ENV['TMP']) ) define('TMPDIR', $_ENV['TMP']); elseif( isset($_ENV['WINDIR']) ) define('TMPDIR', $_ENV['WINDIR'].'\\TEMP'); elseif( isset($_ENV['windir']) ) define('TMPDIR', $_ENV['windir'].'\\TEMP'); else define('TMPDIR', 'C:\\WINDOWS\\TEMP'); } } else { //This is the Linux/Unix case define('POC_OS','unix'); if( ini_get('open_basedir') ) { /** @ignore */ define('TMPDIR', ini_get('open_basedir')); } else { /** @ignore */ define('TMPDIR','/home/user/public_html/chat/tmp');
Good luck
Log in to post a comment.
Hi all you crazy pll.
I can't get a tmpdir...or can I ??
My isp won't disable the safemode. Security -fair enough.
They don't want to upgrade to the latest version of PHP -because of backward compatibility issues.
He wants me to find a older version of phpopenchat -he wants to put me on an older php server wich allows individual tmpdir's to be created.
Is there a older "alright" working version of phpopenchat? I only need 1 to 1 chat...
Well I am stuck and need some expertise...
what do you think??
Mikael
web architect
www.voyagermobiltech.com
Try this Mikael:
look here for the solution: https://sourceforge.net/forum/forum.php?thread_id=870460&forum_id=44845
you have te make a tmp dir in your chat directory
and give the fully path in conf_inc.php like this:
Look at the last row:
if( ini_get('open_basedir') ) {
define('TMPDIR', ini_get('open_basedir'));
} else {
if ( isset($_ENV['TEMP']) )
define('TMPDIR', $_ENV['TEMP']);
elseif( isset($_ENV['TMP']) )
define('TMPDIR', $_ENV['TMP']);
elseif( isset($_ENV['WINDIR']) )
define('TMPDIR', $_ENV['WINDIR'].'\\TEMP');
elseif( isset($_ENV['windir']) )
define('TMPDIR', $_ENV['windir'].'\\TEMP');
else
define('TMPDIR', 'C:\\WINDOWS\\TEMP');
}
} else {
//This is the Linux/Unix case
define('POC_OS','unix');
if( ini_get('open_basedir') ) {
/** @ignore */
define('TMPDIR', ini_get('open_basedir'));
} else {
/** @ignore */
define('TMPDIR','/home/user/public_html/chat/tmp');
Good luck