Search Results

Showing results 1 to 40 of 133
Search took 0.01 seconds.
Search: Posts Made By: sn4rf3r
Forum: Shell Scripting May 3rd, 2007
Replies: 6
Views: 2,204
Posted By sn4rf3r
Forum: Shell Scripting May 3rd, 2007
Replies: 6
Views: 2,204
Posted By sn4rf3r
Forum: Shell Scripting May 2nd, 2007
Replies: 6
Views: 2,204
Posted By sn4rf3r
How about this?

uptime|gawk '{ print $12 }' | tr -d '.' > load
while read Inbr
do
echo $Inbr
if [ `bc -l <<< $Inbr` -gt 77 ]; then
echo "Greater than 77"
else
...
Forum: Shell Scripting May 2nd, 2007
Replies: 6
Views: 2,204
Posted By sn4rf3r
why only 10? and why would you want to restart Apache based on load avg?

Load average is a calculation loosely based on the amount of time a process has to wait for the CPU, I have personally seen...
Forum: Web Browsers May 2nd, 2007
Replies: 1
Views: 988
Posted By sn4rf3r
are you sure you have the url's correct? are they https? or maybe a different subdomain?
Forum: Web Browsers May 2nd, 2007
Replies: 1
Views: 704
Posted By sn4rf3r
Its fine, just go to adobe's site and install the flash player from there. once you do that every one will stop asking.

As for security, you are using IE6 so i think thats a moot point ;-)
Forum: eCommerce Mar 31st, 2007
Replies: 2
Views: 3,497
Posted By sn4rf3r
you are getting this because your host has enables safe mode in php. You can not change the session save path with safe mode on (i think). You need to leave that feature blank and move on. You can go...
Forum: HTML and CSS Mar 26th, 2007
Replies: 2
Views: 1,200
Posted By sn4rf3r
welcome to web design.

You should prolly use conditional comments (http://www.quirksmode.org/css/condcom.html) to include an IE only stylesheet so you can make changes for only IE.

It would be...
Forum: HTML and CSS Mar 26th, 2007
Replies: 2
Views: 1,153
Posted By sn4rf3r
check with the forum admin to see if they allow swf sig files.
Forum: PHP Mar 23rd, 2007
Replies: 6
Views: 1,258
Posted By sn4rf3r
any erros outputted?
If you are dnying all access to the "secure" are there any entries in the apache error logs?

I would wrap the file_get_contents() call in an if statement, this way you can...
Forum: MySQL Mar 23rd, 2007
Replies: 3
Views: 2,175
Posted By sn4rf3r
Oracle and mysql use two different password encryption algorithms.
Are you talking about the password to connect to the database, or a password for user authentication?
How did you store the...
Forum: PHP Mar 23rd, 2007
Replies: 3
Views: 1,974
Posted By sn4rf3r
First off, you need to add a enctype to your form tag and add a name to your submit button (to be used for submission) like this

<form method="post" action="sendeial.php"...
Forum: PHP Mar 12th, 2007
Replies: 11
Views: 4,413
Posted By sn4rf3r
code looks ok, except for this:
you need to look at http://php.net/manual/en/function.mail.php

$headers = "From: Me <myemailaddress.com> \r\n";
$headers .= "Bcc: Santa Clause...
Forum: MySQL Mar 12th, 2007
Replies: 2
Views: 1,248
Posted By sn4rf3r
can you post your sql? dont really understand what you are asking.
Forum: *nix Software Dec 6th, 2006
Replies: 10
Views: 2,387
Posted By sn4rf3r
no more space then the files you will be creating with xvidcap. Maybe its time for a second HD?
Forum: *nix Software Nov 15th, 2006
Replies: 15
Views: 3,307
Posted By sn4rf3r
Windows was there first right? Are you positive that /dev/hda5 is windows? can you run this, as root, and post the results:

fdisk -l /dev/hda
Forum: Window and Desktop Managers Nov 15th, 2006
Replies: 3
Views: 19,371
Posted By sn4rf3r
desktop: Im going with KDE, since the command in the shell is ksnapshot. I think superKaramba is a tool for making widgets for the KDE env and not gnome.

sound drivers: joe's right, google or...
Forum: *nix Software Nov 15th, 2006
Replies: 15
Views: 3,307
Posted By sn4rf3r
I think you CAN have grub on the MBR since thats how i fired up this machine ;-)

You can use LILO or GRUB if you want, just pick something and see it through. If you want to use GRUB then post...
Forum: *nix Software Nov 14th, 2006
Replies: 15
Views: 3,307
Posted By sn4rf3r
can you post the latest version of your conf? Did you run a grub-install? or install the MBR from the grub command prompt?
Forum: Getting Started and Choosing a Distro Nov 13th, 2006
Replies: 2
Views: 1,603
Posted By sn4rf3r
I'm running gentoo on a PII w/256Mg ram, and dual 4G SCSI drives. Compilation does take a while thats why I cross compile on my faster machine and move the binaries over to this one. I use this box...
Forum: *nix Software Nov 13th, 2006
Replies: 15
Views: 3,307
Posted By sn4rf3r
@joe: shouldnt it be (hd0,4) if iwinblows is on the first disk, fifth partition?
Forum: *nix Software Nov 13th, 2006
Replies: 3
Views: 1,383
Posted By sn4rf3r
did you try wget or ftp from the command line? also what your nic set to? 10baseT, 100baseTX??
sounds more like a networking problem to me
Forum: *nix Software Nov 8th, 2006
Replies: 15
Views: 3,307
Posted By sn4rf3r
The windows part will work but debian wont, i dont think. You didnt specify the partition for grub to use as the real root, i use sda3 so thats what I put (yours is probibly different). Also I leave...
Forum: PHP Nov 3rd, 2006
Replies: 3
Views: 1,458
Posted By sn4rf3r
httpd.conf and the path to the file depends on your distro.

locate httpd.conf
Forum: PHP Nov 3rd, 2006
Replies: 3
Views: 1,458
Posted By sn4rf3r
did you update your apache config to load the php5 module and restart your server?
Forum: IT Professionals' Lounge Nov 3rd, 2006
Replies: 7
Views: 10,236
Posted By sn4rf3r
how about on the local machine, ssh will not accept a key from a dir with loose permissions.
Forum: *nix Hardware Configuration Nov 3rd, 2006
Replies: 17
Views: 9,233
Posted By sn4rf3r
cd directory
./configure --help | less
./configure
make
make install
make clean
Forum: *nix Hardware Configuration Nov 3rd, 2006
Replies: 8
Views: 8,153
Posted By sn4rf3r
X is your GUI base, you running gnome/kde on top of X. You can fire X up by typing startx in the shell, if your system defaults to a GUI login then X and your desktop env are already running. Try...
Forum: *nix Software Nov 3rd, 2006
Replies: 15
Views: 3,307
Posted By sn4rf3r
can you post your grub.conf?
you should have something like this:

title=Windows XP
rootnoverify (hd0,1)
makeactive
chainloader +1
Forum: IT Professionals' Lounge Nov 1st, 2006
Replies: 7
Views: 10,236
Posted By sn4rf3r
check the permissions on the authorized_keys2 file and you home directory, maybe run the ssh -v again.
Forum: Linux Servers and Apache Nov 1st, 2006
Replies: 3
Views: 7,341
Posted By sn4rf3r
http://www.php.net/manual/en/install.php

you can also google for a howto on compileing php from source.

I dont understand your second question, what do you mean by work and php?
Forum: *nix Hardware Configuration Oct 31st, 2006
Replies: 8
Views: 4,251
Posted By sn4rf3r
man cp
man rpm
cp /tmp/cfdisk-2.11w-alt3.i588-1.rpm ~
rpm -i ~/cfdisk-2.11w-alt3.i588-1.rpm
Forum: IT Professionals' Lounge Oct 31st, 2006
Replies: 7
Views: 10,236
Posted By sn4rf3r
so you moved the id_rsa.pub or id_dsa.pub file to the remote server and added the contents to the .ssh/authorized_keys file? It might be authorized_keys2 depending on the config file. it kinda sounds...
Forum: Shell Scripting Oct 31st, 2006
Replies: 4
Views: 6,023
Posted By sn4rf3r
my bad, missed that part.... like masijade said, i think a code sample or problem text is needed to clarify.
Forum: Linux Servers and Apache Oct 30th, 2006
Replies: 3
Views: 7,341
Posted By sn4rf3r
you need to recompile with the desired modules.
Also, it is a really really really bad idea to rename a script witha .bak extension since the server will deliver the script unparsed and exposing...
Forum: IT Professionals' Lounge Oct 30th, 2006
Replies: 14
Views: 3,681
Posted By sn4rf3r
I do all my work in the shell, heres what I use:
#1 emacs
#2 vim
#3 nano/pico

and sed,awk,tr for bulk editing.
Forum: PHP Oct 30th, 2006
Replies: 1
Views: 1,558
Posted By sn4rf3r
yep, tons of them. Just google asp to php converter and you will get 8million+ results

http://asp2php.naken.cc/
http://www.design215.com/toolbox/translator/

some are free, some are not. In my...
Forum: PHP Oct 30th, 2006
Replies: 1
Views: 1,288
Posted By sn4rf3r
have you tried the PEAR:Pager (http://pear.php.net/package/Pager/) package? It is really easy to use and is debugged for you. There are also plenty of other packages around, try phpclasses.org as...
Forum: MySQL Oct 30th, 2006
Replies: 1
Views: 2,114
Posted By sn4rf3r
first, you can put those if statements into a case

switch ($m) {
case 'a':
$link = 'web1';
break;
case 'b':
$link = 'web2';
break;
case 'c':
Forum: MySQL Oct 30th, 2006
Replies: 1
Views: 1,130
Posted By sn4rf3r
XAMPP (http://www.apachefriends.org/en/xampp.html) is a package that bundles apache,mysql,php,perl in one easy to use tarball. other wise you can go to mysql.com and download the binaries or source...
Showing results 1 to 40 of 133

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC