User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
DaniWeb is a massive community of 370,572 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,000 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Showing results 1 to 40 of 133
Search took 0.02 seconds.
Posts Made By: sn4rf3r
Forum: Shell Scripting May 3rd, 2007
Replies: 6
Views: 1,256
Posted By sn4rf3r
Forum: Shell Scripting May 3rd, 2007
Replies: 6
Views: 1,256
Posted By sn4rf3r
Forum: Shell Scripting May 2nd, 2007
Replies: 6
Views: 1,256
Posted By sn4rf3r
Re: Determening load average.

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
echo...
Forum: Shell Scripting May 2nd, 2007
Replies: 6
Views: 1,256
Posted By sn4rf3r
Re: Determening load average.

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: 554
Posted By sn4rf3r
Re: Firefox security help

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: 444
Posted By sn4rf3r
Re: Sorry this is so easy - Flash

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: 2,289
Posted By sn4rf3r
Re: help with oscommerce

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: 791
Posted By sn4rf3r
Re: Browser Compatibility Problems

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: 856
Posted By sn4rf3r
Re: Flash Sig Not Working

check with the forum admin to see if they allow swf sig files.
Forum: PHP Mar 23rd, 2007
Replies: 6
Views: 843
Posted By sn4rf3r
Re: Show secured file

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 see...
Forum: MySQL Mar 23rd, 2007
Replies: 3
Views: 1,410
Posted By sn4rf3r
Re: help required mysql+jsp

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,194
Posted By sn4rf3r
Re: PHP - subscribers' email

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: 2,492
Posted By sn4rf3r
Re: php contact page

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: 917
Posted By sn4rf3r
Re: Can i merge an attribute with a calculated value??

can you post your sql? dont really understand what you are asking.
Forum: *nix Software Dec 6th, 2006
Replies: 10
Views: 1,796
Posted By sn4rf3r
Re: Compiling xvidcap

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: 2,469
Posted By sn4rf3r
Re: Important question about GRUB

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: 17,094
Posted By sn4rf3r
Re: What's this guy running?

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 your...
Forum: *nix Software Nov 15th, 2006
Replies: 15
Views: 2,469
Posted By sn4rf3r
Re: Important question about GRUB

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 your...
Forum: *nix Software Nov 14th, 2006
Replies: 15
Views: 2,469
Posted By sn4rf3r
Re: Important question about GRUB

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,094
Posted By sn4rf3r
Re: This all right for Gentoo?

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: 2,469
Posted By sn4rf3r
Re: Important question about GRUB

@joe: shouldnt it be (hd0,4) if iwinblows is on the first disk, fifth partition?
Forum: *nix Software Nov 13th, 2006
Replies: 3
Views: 991
Posted By sn4rf3r
Re: rant! slooooow fedora downloads

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: 2,469
Posted By sn4rf3r
Re: Important question about GRUB

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,053
Posted By sn4rf3r
Re: PHP installation possible errors?

httpd.conf and the path to the file depends on your distro.

locate httpd.conf
Forum: PHP Nov 3rd, 2006
Replies: 3
Views: 1,053
Posted By sn4rf3r
Re: PHP installation possible errors?

did you update your apache config to load the php5 module and restart your server?
Forum: Linux Users Lounge Nov 3rd, 2006
Replies: 7
Views: 6,333
Posted By sn4rf3r
Re: Ssh Auto Login

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: 6,851
Posted By sn4rf3r
Re: Debian wireless help

cd directory
./configure --help | less
./configure
make
make install
make clean
Forum: *nix Hardware Configuration Nov 3rd, 2006
Replies: 8
Views: 5,726
Posted By sn4rf3r
Re: Debian Touchpad Help...

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: 2,469
Posted By sn4rf3r
Re: Important question about GRUB

can you post your grub.conf?
you should have something like this:

title=Windows XP
rootnoverify (hd0,1)
makeactive
chainloader +1
Forum: Linux Users Lounge Nov 1st, 2006
Replies: 7
Views: 6,333
Posted By sn4rf3r
Re: Ssh Auto Login

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: 4,042
Posted By sn4rf3r
Re: How to actually switch from the default MPM ("prefork") to the "worker" MPM?

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: 3,061
Posted By sn4rf3r
Re: Want to write script to back-up up Linux hdb drive to hdc drice

man cp
man rpm
cp /tmp/cfdisk-2.11w-alt3.i588-1.rpm ~
rpm -i ~/cfdisk-2.11w-alt3.i588-1.rpm
Forum: Linux Users Lounge Oct 31st, 2006
Replies: 7
Views: 6,333
Posted By sn4rf3r
Re: Ssh Auto Login

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: 3,439
Posted By sn4rf3r
Re: Case insensitive 'sed' and 'tr'?

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: 4,042
Posted By sn4rf3r
Re: How to actually switch from the default MPM ("prefork") to the "worker" MPM?

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 all...
Forum: Web Developers' Lounge Oct 30th, 2006
Replies: 14
Views: 2,855
Posted By sn4rf3r
Re: Most Popular Editor

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,249
Posted By sn4rf3r
Re: PHP converter

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: 899
Posted By sn4rf3r
Re: pagination problem

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: 1,248
Posted By sn4rf3r
Re: MySql jump / click counter script help needed from a Newbie

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: 828
Posted By sn4rf3r
Re: installation help

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

 
All times are GMT -4. The time now is 5:06 am.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC