i used this code
ob_start(); // start output buffering => this allows us to keep the behavior of the script identical on all systems.
define("DRSR", $_SERVER['DOCUMENT_ROOT']);
define("FDSR", str_replace("\\","/",dirname(__FILE__)));
// Determine if the script is inside a subfolder, if it is, isolate the subdirectory from the root path and store it in a Constant
// this allows links to be relative to the script, even if it is moved.
if(dirname(DRSR) === dirname(FDSR)){
define("DIRREC", "");
}else{
define("DIRREC", str_replace(DRSR,"",FDSR));
}
//allow the script to include files restricted to normal users:
define("SFR_INC_0_LKEY", true);
//set the session-related settings to avoid other scripts from messing with these sessions
if (!file_exists(session_save_path().DIRREC.DIRECTORY_SEPARATOR.'Autofaucet')){
mkdir(session_save_path().DIRREC.DIRECTORY_SEPARATOR.'Autofaucet', 0777, true);
}
session_save_path(session_save_path().DIRREC.DIRECTORY_SEPARATOR.'Autofaucet');
then i run show error me
Warning: file_exists(): open_basedir restriction in effect. File(/opt/alt/php80/var/lib/php/session/Autofaucet) is not within the allowed path(s): (/var/home/btcearns/public_html:/usr/lib/php:/usr/local/lib/php:/tmp) in /var/home/btcearns/public_html/index.php on line 31
Warning: mkdir(): open_basedir restriction in effect. File(/opt/alt/php80/var/lib/php/session/Autofaucet) is not within the allowed path(s): (/var/home/btcearns/public_html:/usr/lib/php:/usr/local/lib/php:/tmp) in /var/home/btcearns/public_html/index.php on line 32
Warning: session_save_path(): open_basedir restriction in effect. File(/opt/alt/php80/var/lib/php/session/Autofaucet) is not within the allowed path(s): (/var/home/btcearns/public_html:/usr/lib/php:/usr/local/lib/php:/tmp) in /var/home/btcearns/public_html/index.php on line 34
what problem