|
Thanks for your quick response.
I edited the directphp.xml file, reinstalled and republished, but still got the same response that "The following command is not allowed: mysql_connect" and the date example still works fine. I cleared the cache on my browser just in case that might help but it didn't. I'll try editing the mysql database directly...
While checking a few things I looked further into the xml file but couldn't fine a reference to "mysql_connect" in the list of blocked commands. I've cut and pasted the list of commands below...
default="basename, chgrp, chmod, chown, clearstatcache, copy, delete, dirname, disk_free_space, disk_total_space, diskfreespace, fclose, feof, fflush, fgetc, fgetcsv, fgets, fgetss, file_exists, file_get_contents, file_put_contents, file, fileatime, filectime, filegroup, fileinode, filemtime, fileowner, fileperms, filesize, filetype, flock, fnmatch, fopen, fpassthru, fputcsv, fputs, fread, fscanf, fseek, fstat, ftell, ftruncate, fwrite, glob, lchgrp, lchown, link, linkinfo, lstat, move_uploaded_file, opendir, parse_ini_file, pathinfo, pclose, popen, readfile, readdir, readllink, realpath, rename, rewind, rmdir, set_file_buffer, stat, symlink, tempnam, tmpfile, touch, umask, unlink, fsockopen, system, exec, passthru, escapeshellcmd, pcntl_exec, proc_open, proc_close, mkdir, rmdir"
|