$ rmdir /tmp/docs If directory is not empty you will get an error: $ rmdir letters Output: rmdir: letters: Directory not empty You can change directory to find out files: $ cd letters $ ls
Author Archives: Prosoxi.com Webmaster
Plesk changing the linux permissions
Plesk uses PHP’s open_basedir setting to restrict PHP scripts to their domain’s httpdocs directory (and /tmp) for security. If you check the domain’s error_log you’ll see that the open_basedir restriction is in effect (or enable display_errors to see errors in your browser, but this is not recommended for production sites). You can override a domain’s …
Determine execution time in PHP
<!– put this at the top of the page –> <?php $mtime = microtime(); $mtime = explode(” “,$mtime); $mtime = $mtime[1] + $mtime[0]; $starttime = $mtime; ;?> <!– put other code and html in here –> <!– put this code at the bottom of the page –> <?php $mtime = microtime(); $mtime = explode(” “,$mtime); …
AE Repeat footage in same layer?
Right click on the footage in the Project Window. Click Interpret Footage. At the bottom, under Other Options, it’ll say “Loop _ Times.” By default it’s set to 1. But just increase that number however many times you want it to loop.
.htaccess upload_max_filesize ini_set()
I m PHP 5.2.0 / Apache and I can’t access php.ini I try to update .htaccess and added php_value upload_max_filesize “25M” php_value post_max_size “25M” However it will give me “Internal Server Error”