My development environment is WINDOWS7 + IIS + PHP5
Directory is C: \inetpub\wwwroot\projectA\
$ The baseUrl = '/projectA/userfiles/';
The production server is LINUX + Apache + PHP5
The directory is /var/www/html
So $ the baseUrl = '/userfiles/';
Two settings are different, so I wrote a program to crawl the directory path.
$ dir_htmledit = substr ($ _SERVER ['PHP_SELF'], 0, strpos ($ _SERVER ['PHP_SELF'], "ckfinder"));
$ baseUrl = $ dir_htmledit. "userfiles /". $ _SESSION ['id']. "/";
In the development environment is no problem, but the production server is a failure
I have opened up, but see no error message
error_reporting (E_ALL);
ini_set ('display_errors', 1);
Please help me!
Directory is C: \inetpub\wwwroot\projectA\
$ The baseUrl = '/projectA/userfiles/';
The production server is LINUX + Apache + PHP5
The directory is /var/www/html
So $ the baseUrl = '/userfiles/';
Two settings are different, so I wrote a program to crawl the directory path.
$ dir_htmledit = substr ($ _SERVER ['PHP_SELF'], 0, strpos ($ _SERVER ['PHP_SELF'], "ckfinder"));
$ baseUrl = $ dir_htmledit. "userfiles /". $ _SESSION ['id']. "/";
In the development environment is no problem, but the production server is a failure
I have opened up, but see no error message
error_reporting (E_ALL);
ini_set ('display_errors', 1);
Please help me!