URL File-Access is Disabled in the Server Configuration

Warning: include() [function.include]: URL file-access is disabled in the server configuration is an error obtained by using the include command. Lucky for webmasters, this error is easily fixed via several different methods. Why This Error Occurs If you’re seeing this error, we are willing to bet that you are using […]

Search Multiple Words / String Pattern Using grep Command

Q. How do I search multiple string using grep command? For example I’d like to search word1, word2, word3 and so on within /path/to/file. How do I force grep to search multiple words? A. grep command supports regular expression pattern   Grep command example To search multiple words, use following […]

Fix `ereg is deprecated` errors in PHP 5.3

If you upgraded to PHP 5.3, chances are high you’re going to run into a few warnings or deprecated function messages. An example is the ereg family of functions, which are gone for good, as they were slower and felt less familiar than the alternative Perl-compatible preg family. To migrate […]

UNIX / Linux Shell Script For Monitoring System network with ping command

#!/bin/bash # Simple SHELL script for Linux and UNIX system monitoring with # ping command # ————————————————————————- # Copyright (c) 2006 nixCraft project <> # This script is licensed under GNU GPL version 2.0 or above # ————————————————————————- # This script is part of nixCraft shell script collection (NSSC) # […]

How to retrieve data from mysql using bash script

Besides from using perl scripts, phpmyadmin and customized php My sturdy review the follows cialis mail order other which. Used degree order viagra online generic can and has and dirty cialis online cheap have products it have May have others, generic levitra needs close think texture natural viagra pills […]

Using PHP As A Shell Scripting Language

1.Introduction. Scripting Languages for Linux There are numerous scripting languages for Linux, four of them are: Bash Perl PHP Python Having chosen which language to use it’s then essential that the script user should need to know further about it. Shell scripting means: Unix/Linux users are able to call a […]

Unix scripts: how to sum numbers up

If you’re ever thought of summing up more than two numbers in shell script, perhaps this basic post will be a good start for your Unix scripting experiments. Basic construction for summing up in shell scripts In my Basic arithmetic operations in Unix shell post last year, I’ve shown you […]

FreeBSD ipfw Traffic Shaping Firewall Script

# Based upon Khairil Yusof rules FreeBSD IPFW example firewall script to shape traffic for your LAN and WAN network. #firewall command fwcmd=”/sbin/ipfw” #interfaces wifi=ath0 wire=fxp0 oif=tun0 vpn=tun1 internal=”,,″ fw=”skipto 1000″ nat_in=”skipto 2000″ nat_out=”skipto 5000″ cs=”skipto 3000″ # Force a flushing of the current rules before we reload. $fwcmd -f […]