Your base directory $basedir does not appear to be a directory, or does not exist. You have set:

$basedir = "/home/strato/http/power/web3/50/97/5321897/htdocs/";

in the script, but it doesn't appear to be correct.The following information may help you find the correct path. If not, please feel free to email me this information and tell me what was going wrong, and I'll try to help.

Document Root: /home/strato/http/premium/rid/18/97/5321897/htdocs
Script Filename: /home/strato/http/premium/rid/18/97/5321897/htdocs/cgi-bin/blackjack/sfeblackjack.cgi
Server Software: Apache/2.4.37 (Unix)