Hi,
Below is starting entry of my script
#!/bin/ksh
Usage()
{
print "Usage: $0 ID OPTION SERVER"
print "<br>Where :"
print "<br>Enter your ID into PARAM1, OPTION in the PARAM2 and SERVER in the PARAM3 field"
print "<br>ID should be a valid ID"
print "<br>OPTION should be either BOUNCE or STATUS"
print &q
Obviously I should have checked file_exists a long while back, but not being a PHP person, I didn't know it existed. Below is my current test php file and its output.
I'm trying to get HAL to load my touchpad's preferences at startup, but for some unknown reason to me, it isn't.
I've got a an Eee PC 1000 HE with an Elantech Touchpad.
Hi all,
I'm writing a simple awk code:
Code:
awk 'BEGIN {FS="|"};{print "Type\tNumber\ttypes\tTotal";};{print $1, "\t", $2, "\t", $3, "\t", $4, "\t";}' db_query.txt
it gives me the result:
Type Number types Total
XXX 498.0 5100.0 5274.661
Type Number types Total
BB 1335.0 1312.0
Hi, I am (and still) trying to create a 2 Node cluster on Centos5.2 with a Dell MD3000 as a storage.
so I used startup disk creator which screwed up my USB drive and now I can't unmount it or format it.
here's what I get when I type blkid:
Code:
/dev/sda1: SEC_TYPE="msdos" LABEL="DellUtility" UUID="07D9-0619" TYPE="vfat"
/dev/sda2: UUID="06C8DF6BC8DF578F" TYPE="ntfs"
/dev/sda5: UUID="ba6884af-3d02-4f50-886f-ff0cc3022c
well, I finally realized that maybe I should't ask for help in a thread marked 'solved' lol
can someone help me out:
sudo blkid -c /dev/null
Code:
/dev/sda1: LABEL="Main Data" UUID="9A58141A5813F3AB" TYPE="ntfs"
/dev/sda2: UUID="2eedf535-3598-410d-84d2-e28ff2928add" TYPE="ext2"
/dev/sda3: UUID="987cebe9-f1c7-4043-9fd0-e77b7e103833&quo
i'm using ubuntu 12.04 LTS
I want to host certain domain name, example.com to my server:
Note: i've replace the real domain name to example.com and the server ip to 198.23.xx.xx
$ vi resolv.conf
nameserver 8.8.8.8
$ vi named.conf.local
zone "example.com" {
type master;
file "/etc/bind/db.example.com";
};
zone "example2.com" {
type mast
Hi,
I want to limit only files with approved extensions such as ".gif", ".jpeg", ".doc", etc. are allowed to be uploaded to the web server.