Search Results

Showing results 1 to 40 of 227
Search took 0.02 seconds.
Search: Posts Made By: k2k
Forum: Perl 15 Days Ago
Replies: 1
Views: 338
Posted By k2k
basically i need to have 2 variables.. concat them and put them into use.

here is what i have done so far:


#!/usr/bin/perl

$stats =...
Forum: Shell Scripting 17 Days Ago
Replies: 3
Views: 352
Posted By k2k
wow, thanks sknake. those 2 articles give me exactly what i need. = )
Forum: Shell Scripting 18 Days Ago
Replies: 3
Views: 352
Posted By k2k
hi,
basically i am trying to write a quick script to remote copy something as follow.

"" scp user@192.168.1.5:/var/tmp/file.txt /var/tmp/newfile.txt ""

if i do above cmd on the shell, i...
Forum: Darwin, X11 and BSD Aug 16th, 2009
Replies: 0
Views: 910
Posted By k2k
hi, i am very new to the darwin unix os. so much i wanna know if there is something like redhat's "yum" command to search and install softwares from the repository.

my second question is, for...
Forum: *nix Software Aug 16th, 2009
Replies: 3
Views: 591
Posted By k2k
hi, i just got myself a mac book and don't know much about its unix.
first of all, i would really like to know if there is a repository like redhat so i can do "yum" to search and install the...
Forum: JavaScript / DHTML / AJAX Jul 30th, 2009
Replies: 1
Views: 1,024
Posted By k2k
hi,
basically i have this function.

function showDetail(checkBoxShipmentId)
{
xmlhttp = GetXmlHttpObject(); // this calls function below
if (xmlhttp==null)
{
alert...
Forum: PHP Jul 29th, 2009
Replies: 2
Views: 232
Posted By k2k
that's good catch. Thanks much
Forum: PHP Jul 29th, 2009
Replies: 2
Views: 232
Posted By k2k
hi,
if i left a field blank in my table. when i tried to retrieve all the info out to the form. the text box supposed to have blank (because the corresponding field in the table is blank)...
Forum: PHP Jul 25th, 2009
Replies: 6
Views: 248
Posted By k2k
still don't know why, but it magically works now with $street= $cResult[3]


and echo "$cResult[3]" return "132 main street"

..... thanks everyone tried to help.
Forum: PHP Jul 24th, 2009
Replies: 6
Views: 248
Posted By k2k
nope, no strange characters. the field is long enough and the street i inserted "132 main street" was already stored in the table.

but it is weird that [code] echo "$cResult[3]" returns me only...
Forum: PHP Jul 24th, 2009
Replies: 6
Views: 248
Posted By k2k
i will try again later but i think i already tried that and didn't work.
Forum: PHP Jul 24th, 2009
Replies: 6
Views: 248
Posted By k2k
hi, i selected everything from the table and the direct variable $cResult[3] would give me something like "street address with space as delimiter" ... however, when i tried to use it, it will give me...
Forum: PHP Jul 21st, 2009
Replies: 6
Views: 262
Posted By k2k
of course, thanks again.
Forum: PHP Jul 21st, 2009
Replies: 6
Views: 262
Posted By k2k
huh, thanks for your help. that was a good guess. i got 2 database and i connected to the wrong one. = P

thanks a ton
Forum: PHP Jul 21st, 2009
Replies: 6
Views: 262
Posted By k2k
people commented that the codes are working. however in my case, it is not working. i tested it that it is connected to the database successfully. and that line of select statement looks right to me....
Forum: PHP Jul 21st, 2009
Replies: 6
Views: 262
Posted By k2k
i just downloaded a login script and the code below is the php backend for the login. It is originally using md5 encryption and decryption for the password. For some reason I want to manage the...
Forum: Domains and DNS Jul 13th, 2009
Replies: 1
Views: 329
Posted By k2k
hi,
does anyone know how to setup a port# to each PC of my home network? say 192.168.1.1 is my gateway,, 192.168.1.2 is my linux machine. and my public ip is 1.2.3.4 ... how do i make my...
Forum: JavaScript / DHTML / AJAX Jun 19th, 2009
Replies: 2
Views: 399
Posted By k2k
hi, thanks for ppl answered my last thread and i did get that overcome. thanksss

big picture:
now. last last problem, my program generates 10 random questions with random wrong answers in radio...
Forum: JavaScript / DHTML / AJAX Jun 19th, 2009
Replies: 2
Views: 581
Posted By k2k
say i have:
document.writeln("0")
document.writeln("1")
document.writeln("2")
document.writeln("3")
document.writeln("4")

how i do generate them in different order each time but all of them...
Forum: Java Jun 12th, 2009
Replies: 5
Views: 314
Posted By k2k
i tried randomAccessFile with bufferedWriter... it gave me byte code to the text... i need to import that text doc to excel for some data process.. so..
Forum: Java Jun 12th, 2009
Replies: 5
Views: 314
Posted By k2k
i need to use java to generate and write/append (long)numbers to a text file and use those data for calculation later. can anyone give me a quick reference on what i should use?

i tried: ...
Forum: JavaScript / DHTML / AJAX Jun 9th, 2009
Replies: 2
Views: 1,106
Posted By k2k
hi, i am picking up js for form validation. does anybody know how i can add a little check (a tiny image) to the textbox if the content is passed ... and a cross mark maybe if the textbox content...
Forum: HTML and CSS May 30th, 2009
Replies: 9
Views: 1,113
Posted By k2k
hi, is there a way that i can take my div to the bottom center of my page? i tried diff attempts but none worked. any suggestion? thanks.

below is my last attmep:


<!DOCTYPE html PUBLIC...
Forum: *nix Software May 13th, 2009
Replies: 3
Views: 830
Posted By k2k
yes, thank you all. and i just found a command "# lshw" .. it has very detailed info about all your hardwares.. thanks thanks
Forum: *nix Software May 13th, 2009
Replies: 3
Views: 830
Posted By k2k
hi,
i want to know how to check system spec (command line) in linux like right clicking "my computer" in windows and click on "properties"

some system i know i can do #cat /proc/cpuinfo ...
Forum: Perl May 3rd, 2009
Replies: 5
Views: 576
Posted By k2k
useradd is a command in fedora to add a user, so is it considered as an external command?

anyway i tried your suggestion it doesn't give me error but users weren't generated. it is the same as i...
Forum: Perl May 3rd, 2009
Replies: 5
Views: 576
Posted By k2k
hi, i am trying to write a script to generate a big number of users in perl.. it is actually my second time writting perl .. i used to write shell scripts before. my little script seems not working...
Forum: Java Apr 22nd, 2009
Replies: 8
Views: 2,245
Posted By k2k
haha, ezzaral... you are just too good every time.. hit right at the point. right, i just figured it out i should have placed my image somewhere other than where i placed it. thanks for reply very...
Forum: Java Apr 22nd, 2009
Replies: 8
Views: 2,245
Posted By k2k
found a similar example and implemented,, pic now showing still.

anything missing ?


import java.text.MessageFormat;
import java.sql.*;
import javax.swing.*;
import javax.swing.ImageIcon;...
Forum: Java Apr 22nd, 2009
Replies: 8
Views: 2,245
Posted By k2k
thanks, however, the drawImage() method has many parameters. would you mind to show how i import just one image to the drawImage()?

i got it so far :

import java.text.MessageFormat;
import...
Forum: Java Apr 22nd, 2009
Replies: 8
Views: 2,245
Posted By k2k
hi, does anyone know how to insert a background picture to a JPanel?
I have googled around, found something seem more difficult than it should be, and a simple one as below but not showing the pic. ...
Forum: Java Apr 16th, 2009
Replies: 14
Views: 665
Posted By k2k
yea, that was a careless mistake but i think i would never find out coz i never knew the awt and swing don't get along.

Ezzaral is really good, he solved at least 3 of my threads in here i think....
Forum: Java Apr 16th, 2009
Replies: 14
Views: 665
Posted By k2k
Ezzaral,
thanks very much. I didn't mean to user Label instead of JLabel, it was just something I did carelessly. and I didn't know it would cause this problem took me that long to figure it out. ...
Forum: Java Apr 15th, 2009
Replies: 14
Views: 665
Posted By k2k
huh, that is what it is though. i have a JMenuBar directly added to the JFrame, and then everything else is added to the JPanel or JScrollPane, then add the JPanel or JScrollPane to the Frame.
Forum: Java Apr 15th, 2009
Replies: 14
Views: 665
Posted By k2k
well, i do have to say thank you for the on going help.

but yea, i tried the setOpaque(false) for my panel and guess this is not the solution.

i'll post my code and see if you may see...
Forum: Java Apr 14th, 2009
Replies: 14
Views: 665
Posted By k2k
i am using eclipse, i don't know if it has the same problem netbeans has. but it is weird that i have a JScrollPane that works perfectly fine along with the JMenu.. the dropped down wouldn't be...
Forum: Java Apr 14th, 2009
Replies: 14
Views: 665
Posted By k2k
hi,
i have a JFrame... one menuBar placed on a JPanel.. and then two JPanel with different things (let me call them ActionPanelOne, and ActionPanelTwo).

i put the JPanel (with JMenuBar)...
Forum: Java Apr 14th, 2009
Replies: 9
Views: 810
Posted By k2k
that is very nice of all of you.

rahul8590, thanks for your example.
Forum: Java Apr 13th, 2009
Replies: 6
Views: 608
Posted By k2k
finally got it work the way supposed to... = )

thanks for all the helps.
Forum: Java Apr 12th, 2009
Replies: 6
Views: 608
Posted By k2k
thanks. maybe i was heading to the wrong direction.

first of all, i have a class extends JFrame (the main class)

import java.text.MessageFormat;
import java.sql.*;
import javax.swing.*;...
Showing results 1 to 40 of 227

 


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

©2003 - 2009 DaniWeb® LLC