Search Results

Showing results 1 to 37 of 37
Search took 0.01 seconds.
Search: Posts Made By: caps_lock
Forum: PHP Aug 22nd, 2009
Replies: 3
Views: 214
Posted By caps_lock
Looking at the source code of this website:


http://superdialcouk.dmshop.biz/numbers/0207/choose.php?dmb1_SessRef=2009-08-22_15-29-14_8068_0003



What code do i copy and paste to get that...
Forum: PHP Jun 3rd, 2009
Replies: 7
Views: 291
Posted By caps_lock
i did try but sql was mainly involved from what i could gather


anyone else with anything constructive please do reply
Forum: PHP Jun 3rd, 2009
Replies: 7
Views: 291
Posted By caps_lock
PHP


<?php
$email = $_REQUEST['email'] ;
$subject = $_REQUEST['subject'] ;
$message = $_REQUEST['message'] ;

mail( "contact@superdial.co.uk", $subject,
$message, "From: $email" );
Forum: PHP Jun 3rd, 2009
Replies: 7
Views: 291
Posted By caps_lock
thanks


so if i had say a html input field named "telephone"

the relavent php value for it would be $telephone?

would that go inside the $message() bit or $header() ?
Forum: PHP Jun 3rd, 2009
Replies: 7
Views: 291
Posted By caps_lock
Using php mail function allows a user of a wesbite to send email without opening up ther mail client, information such as subject message reply-to email address can be included.



With this...
Forum: Java May 25th, 2009
Replies: 12
Views: 554
Posted By caps_lock
it does print now:



this is some sample output

$R3QSQ3M
here we are---$R49HV83.txt
$Recycle.Bin
here we are---autoexec.bat
Forum: Java May 25th, 2009
Replies: 12
Views: 554
Posted By caps_lock
would some one be kind enough to copy and paste and compile this code, I get no results to the terminal, my criteria should bring a few results



import java.io.*;
import java.util.*;
...
Forum: Java May 25th, 2009
Replies: 12
Views: 554
Posted By caps_lock
oh my fault i didnt make all the changes it does compile, rep for you!
Forum: Java May 25th, 2009
Replies: 12
Views: 554
Posted By caps_lock
thanks jaka.ramdani


I tried making the modifcation you siggested, but the compiler error with that was:

cannot find symbol - method length

and then i tried using (files[index]) in the if...
Forum: Java May 25th, 2009
Replies: 12
Views: 554
Posted By caps_lock
i got the recursion working, couldnt quite implent the new for loop, moved on to the next step, ei. trying to compare files in two ArrayLists, and the first hiccup is as follows:




ArrayList...
Forum: Java May 24th, 2009
Replies: 12
Views: 554
Posted By caps_lock
wow nicely explained thanks are you a teacher?

yep next step recurssion
Forum: Java May 24th, 2009
Replies: 12
Views: 554
Posted By caps_lock
i just tried a differrent approach, this code also prints out nothing







import java.io.*;
import java.util.*;
Forum: Java May 24th, 2009
Replies: 12
Views: 554
Posted By caps_lock
import java.io.*;
import java.util.*;

public class MainTwo {
public static void main(String[] args) {
for(File file : File.listRoots()){
search(file);
}
}
Forum: Java May 24th, 2009
Replies: 7
Views: 427
Posted By caps_lock
lol i know which i prefer.


I get files from one or more directories, but im only able to compare each file with files from its local directory, i think perpaps wrong ordering of statements, i...
Forum: Java May 23rd, 2009
Replies: 7
Views: 427
Posted By caps_lock
thanks james, the code works fines with the rest of my code, but to be honest i dont really understand what difference it made, because the final results when executing my program are the same as to...
Forum: Java May 22nd, 2009
Replies: 7
Views: 427
Posted By caps_lock
ArrayList arrayList = new ArrayList();

for (File g : f.listFiles())

if (g.isFile())

{

arrayList.add(g);
Forum: Java Mar 24th, 2009
Replies: 0
Views: 225
Posted By caps_lock
hello im trying to get down a model that conceptually represents the data transfers that my application uses.

I basically got this:

[End User] <- command line interface -> [My Program] <-> {...
Forum: Java Mar 13th, 2009
Replies: 7
Views: 610
Posted By caps_lock
lol i will add the try and catch if it works, im testing it in a small direcotry first, ive had no exceptions yet, but i will add try and catch it works with even an exception

just some more info:...
Forum: Java Mar 13th, 2009
Replies: 7
Views: 610
Posted By caps_lock
hi thanks for the reply

i changed it to abosulte path instead but tha tdidnt have an effect so i changed it back, then I checked if the objects existed by using .exists() and getting that printed...
Forum: Java Mar 13th, 2009
Replies: 7
Views: 610
Posted By caps_lock
hmm nope, ive set up if statements not to inlcude direcories, i just added a system.out.println to states that the deletion process is in progess but that message doesnt even show up, im just going...
Forum: Java Mar 13th, 2009
Replies: 7
Views: 610
Posted By caps_lock
Forum: Java Mar 13th, 2009
Replies: 7
Views: 610
Posted By caps_lock
String deleteString = e.getPath();
File deleteListFile = new File(deleteString);


...
Forum: Java Mar 12th, 2009
Replies: 3
Views: 534
Posted By caps_lock
yes I think I am

I have a main method

(no GUI class)
Forum: Java Mar 12th, 2009
Replies: 3
Views: 534
Posted By caps_lock
Hi, I looked for this on Google, but to no success.

Can anyone help/point me in the right direction as to how include a terminal window in an exectuable jar file??

Outside the IDE, I can only...
Forum: Java Jan 17th, 2009
Replies: 1
Views: 815
Posted By caps_lock
With the code below I am getting an error reading long cannot be dereferenced, how can I solve this problem?


import java.io.File;

public class TestingClass {
public static void main(...
Forum: Java Jan 15th, 2009
Replies: 20
Views: 2,137
Posted By caps_lock
hmm i odnt think it use to do that lol, any idea how I can reshuffle the code or something to make it search through everyfile and return only those files that are equal in size (lenght()? bytes?)
Forum: Java Jan 14th, 2009
Replies: 20
Views: 2,137
Posted By caps_lock
why when i compile this code now i only get a list of folders and .sqm files and .log file and a .txt file and an .exe file. Ive got this list of files from d and c drive


import java.io.*; ...
Forum: Java Jan 14th, 2009
Replies: 20
Views: 2,137
Posted By caps_lock
i just thought you guys would of liked a challenge lol

thanks anyways
Forum: Java Jan 14th, 2009
Replies: 20
Views: 2,137
Posted By caps_lock
so just to add more detail because theyre may be confusion

Im basically trying to get files with equal file size first, then im trying to put those in an array, then the files in the array need to...
Forum: Java Jan 13th, 2009
Replies: 20
Views: 2,137
Posted By caps_lock
hello again i tried your advice erm no difference I think

I dont quite understand how not to make "the method not return anyway"

Please may someone help me to get files of the same size listed...
Forum: Java Jan 11th, 2009
Replies: 20
Views: 2,137
Posted By caps_lock
lol i started that thread but ignore that one for now lol

anyways

thanks masijade for your reply

i tried something new

modified code below
Forum: Java Jan 10th, 2009
Replies: 20
Views: 2,137
Posted By caps_lock
can I add a equals() statement in the code above and from that print to the terminal window files that occur on more than one instance on the recursive scan?
Forum: Java Jan 9th, 2009
Replies: 20
Views: 2,137
Posted By caps_lock
really thats interesting punnetkay i wonder why

but it needs to work for me!

post above: thanks for that, but I dont want to list the roots I want to list the files and files in directories...
Forum: Java Jan 9th, 2009
Replies: 20
Views: 2,137
Posted By caps_lock
Hello

My recursive file scan is not doing what I want it to do.

I want it to be able to go through all roots (drives)...

With no user intervention, so without including "C:\\" or "." as a...
Forum: Java Jan 4th, 2009
Replies: 11
Views: 1,210
Posted By caps_lock
also the application is stand alone well operating in a Java Runtime Environment
Forum: Java Jan 4th, 2009
Replies: 11
Views: 1,210
Posted By caps_lock
thanks for the replys guys


but...

i dont want to use C - I'm not bothered about speed, loading or scanning duration of the intended application

and i find the post before mine abit...
Forum: Java Nov 14th, 2008
Replies: 11
Views: 1,210
Posted By caps_lock
So i've downloaded netbeans, and had a play around.

But I'm thinking is Java the wrong language to design a duplicate file scanner.

The program if not obvious should hopefully atleast identify...
Showing results 1 to 37 of 37

 


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

©2003 - 2009 DaniWeb® LLC