WB0TRA
public text v1 · immutableBelow is an extract of a part of a script file and the error it produces. Why would "scandir()" be an undefined function?
$Files_Array = SCANDIR( $Src_Path );
print_r( $Files_Array );
#
# eof: /home/lee/scripts/bsg_dl.scr
#
[lee@g3m202 scripts]$ vi bsg_dl.scr
[lee@g3m202 scripts]$ ./bsg_dl.scr
PHP Fatal error: Call to undefined function: scandir() in /home/lee/scripts/bsg_dl.scr on line 25
Content-type: text/html
X-Powered-By: PHP/4.3.9