Recent Posts
-
Installing The Adaptec Hardware RAID Monitoring Utility (arcconf) on CentOS
You can use arcconf to check the status of your Adaptec hardware RAID array. Below are the commands to download and install the program into a directory called /incero, and then the command to run the program. Tested with CentOS 5.5 64bit and CentOS 5.6 64bit. mkdir /incero cd /incero wget http://download.adaptec.com/raid/storage_manager/asm_linux_x64_v6_50_18579.tgz tar -zxf asm_linux_x64_v6_50_18579.tgz [...]
-
PHP MySQL Table Update Function
Typing out the full PHP/MySQL for each UPDATE query within a very dynamic PHP application quickly becomes a tedious task. Since starting out with PHP ten years ago I’ve written my own functions to make such tedious tasks easier, I keep them all in a functions.php file which I include in all my projects. It [...]
-
Avoiding Downtime For Apache Config Changes
I come across people “restarting” Apache after adding a new virtual host, or making other changes to httpd.conf all the time. Restarting apache will cause all current connections to close, Apache to stop (causing your site to be down), and then Apache starts back up. The amount of downtime is minimal, but it is not [...]
-
How To Install PERL For CSF Firewall
When installing CSF firewall, which is a great alternative to APF firewall, you may be presented with an error regarding PERL: [root@server27 csf]# sh install.sh Configuring for OS Checking for perl modulesfailed You need to install the LWP perl module (libwww-perl) and then install csf To correct this on a CentOS system, simply run the [...]
-
Supermicro IPMI2 + KVM Server Control
With “mission critical” in mind all of our servers include the latest IPMI2 and KVM integrated into the motherboard. The web based control panel for the IPMI and KVM, which works even when the server is offline, allows complete remote control over the system. My favorite feature is the KVM for remote console access along [...]
-
Number Of Available CPU Cores In PHP
It is simple enough to check and then load the number of available processing cores on the current machine into a PHP variable. You can do so with the code below, which uses shell commands to grab data from /proc/cpuinfo and then removes unneeded data with PHP. <?php /*How to check how many processors are [...]
-
Zend 2003120701 Error
If you see an error on your website like the one below, it means that you need to install Zend Encoder to load the file. Zend�2003120701�1�2570�9363�xù Ÿ2Í[ÍoÜÆŸÚêH9(§^R€ÑEdY$g8œ‰½N¶ÒZÚÖ’ìõ:Ž$‹µ´–ÖÖ~˜Ëu¬¢h.íÑ@/Fs)KÓc½ô”? 7|)£ƒÂ·…›\ú†‡ä– ®ï®ùÞ<¾ù½ï!-’ÿ'½ážÕŠBXÑŸxk “YîqÌ\ŠEmÀÞt08:ßÝÛ €ÙëÃî ÷öŠC!œs?nÆAo¿3膻sŽía‡Ù¶hW)šLoOÂ`ÎaÜõ=ß&Å6êÍ:sî9Ì‹|op4¹Ø‰:dîrÆ=øp£\Ó†ÓA'}1™s<×§ÇBÜ Æ#¸È‰O˜í2uñ’¸ØÎ2l3îøÖî´{8šDÛ Ì¥>¡4 „f\ìÄ�çÑ™80“¯·\ærص›�梻gô ¡NçróJ£Ó™´''JÀ±‘Ï9P)åTÄÔ5 $BõÕÝÑðNÿüø`ßýçÒ5ÓQ‹¦ªý»¨½c$aÁè›—Ñ£g/Ö£¿µwÝDûdýán²Œ~W¾ˆþl:ð$ÄÖGVrÛhû2[½syºÕ¸Üh5Z1ëµ|Cç¦b~H„ñÐ;2ƒÏçrôíÑèÞ Ü;Í}ß&€G›Â_|úèZÂâ^ú±²æh{aèŠn>Û»D´w•8‰Ø‰6Y<É:� ??ûÁûa8~uu郳Ÿ~¾úÙòÒ‡}ݸò›ù‚’øüL¥3bþSÄg3YÓSG‚Œiì¹RyŸrꉓ'™`~-·›ØCͨqRz&Eèå8VD§ª¹WÛ… ?ÉÒ‰¾A¿›µd’êÒM¦ßÏHÔ¶ÈM¼Ça®mÑ�ƒ9c)N5N%N’…®gƒ/¿Í¸*/´³^(ˆ?”ƃpéV™òñôv¿\2Fÿ8•Y;¯Í =ÎãJ<ý=7Ür}jcmíÝþкÜÚÙ²ÚA†Ú››±äõÚâ|¦[½Î t}ã£Aÿ&§¨Žt7*Ù\&Ôã\5ÈôšëW S/)t O5¡ša=•/¤€Œžž£L.Ïw5º=„Mg¬iÿm…í<ô¸¤J G¡0Æ$b£èëVUÑC÷Íe•Ä¥èòNëf½µÞX—Ü¿7•(Q:sÚs3js®‘¿Ìi–èóO¥›Ù\¤ÎGͺdû±J‘¹jE¾>‘"}£"\â®ÿf!™ Råjkçã[0§noCh6w¶ß,@JÍj½1´ˆŽVýF{s§Õü¤þÿ�˜-KƒMüz xýY%5ªåxîê:ýñíªq½eîW½Xó°¤Sßhl·%û¸¼!êO²£ý®žÖå»BO ZB¦Ç¹»Ì8¶ÎßT–¤…¾¦¿´Ò;¶›«ô0ö«ÕPÿßvù§1UOaÎk5¶vÚN}}½%YÓŠïçªÿS,Ö®MIïå£l±&,)ÖÑ¡sTª›ãîX–êþøN0\¬5·íN½½³}vQÞZÊsMU[„Ñâ’Uß^áè’¾\®ËUû¬Pc+ º`z¥¹Õl[Žä¬h €ZÑ�õ¤M°–7@456Äj 0«j €úMp››u«|S0ã`OÓä¯J[?maà—’Ëêþ±PËì³ÆÁèáQ-ú\–ÜOóÎA5QFG`ÏYáýŽä)xט½‹ Zº~£jý#ã^A‰Ãî$\jk7Z-èÖ:íæVãz»¾u57¿›qÑà 4•%™:v2¹?Óœ®èþLf/çÅîÏÐ{¦2ái5špôÛÂ3ré4ëÝ£Èe‚þp^½Ä"V<*³pJ–8úz38~d„©ñ´JÄÓ2ÒõÇUëKì³,éy/ÒC¢�?‰ˆWÇ€¢š.á [...]
-
PHP Upload Progress Bar Script
We have developed an amazing PHP upload progress bar script, which uses Javascript and PHP to report back the upload status data to the user. This script makes it extremely easy to add an upload progress bar to your website without using Flash, Perl, cgi, or other complex solutions. Demo You can see the upload [...]
-
Securing Joomla Media Files With Login Sessions
We recently completed an excellent Joomla file protection script which allows Joomla CMS webmasters to secure their digital files based on the current user login session preventing leeching. Using our Joomla file protection script you can simply drop our securefile.php in any folder that contains files that you want to protect and they will only [...]
-
How To Generate Thumbnails On The Fly With PHP
There are two great ways to generate thumbnails for images on the fly with PHP: Use GD to resize the image on the fly and output it Extracts the thumbnail from the Exif data. (If this fails, you could revert to method 1 above.) The latter assumes that the image file has exif data, which [...]
