Related Articles
Few linux commands which are helpful
To download a file wgett urloffile To see log file contents , run time file tail -f filename To return back from file ctrl+c To edit a file vi filename return back :q! or :wq! to insert in file use insert key
How to Set up BonitaSoft BPM with Tomcat and Mysql
Before setting up Bonitqasoft you need following: 1. Latest version of Bonita Open Solution Tomcat and Mysql Bundle.2. Java 1.6 version and set JRE_HOME and set JAVA_HOME system variables.3. Mysql database. Follow below steps to configure BonitaSoft with Tomcat and Mysql : 1. Create two databases named bonita_history and bonita_journal. Commands: Create database bonita_history;Create database bonita_journal; Step 2. Create user […]
PHP Server Common Codes To Get Values
$_SERVER[“DOCUMENT_ROOT”] === /home/user/www$_SERVER[“SERVER_ADDR”] === 143.34.112.23$_SERVER[‘HTTP_HOST’] === example.com (or with WWW)$_SERVER[“REQUEST_URI”] === /folder1/folder2/yourfile.php?var=blabla#123__FILE__ === /home/user/www/folder1/folder2/yourfile.php —>//p.s. ON WINDOWS SERVERS, instead of / is basename(__FILE__) === yourfile.php__DIR__ === /home/user/www/folder1/folder2 [same: dirname(__FILE__)]$_SERVER[“QUERY_STRING”] === var=blabla#123$_SERVER[“REQUEST_URI”] === /folder1/folder2/yourfile.php?var=blabla#123 parse_url($_SERVER[“REQUEST_URI”], PHP_URL_PATH) === /folder1/folder2/yourfile.php $_SERVER[“PHP_SELF”] === /folder1/folder2/yourfile.php//if “parentfile.php” includes this “yourfile.php”(and inside it are the codes written), and “parentfile.php?a=123” is opened, then$_SERVER[“PHP_SELF”] […]
