Forum: PHP Aug 22nd, 2009 |
| Replies: 3 Views: 214 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 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 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 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 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 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 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 oh my fault i didnt make all the changes it does compile, rep for you! |
Forum: Java May 25th, 2009 |
| Replies: 12 Views: 554 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 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 wow nicely explained thanks are you a teacher?
yep next step recurssion |
Forum: Java May 24th, 2009 |
| Replies: 12 Views: 554 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 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 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 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 ArrayList arrayList = new ArrayList();
for (File g : f.listFiles())
if (g.isFile())
{
arrayList.add(g); |
Forum: Java Mar 24th, 2009 |
| Replies: 0 Views: 225 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 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 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 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 |
Forum: Java Mar 13th, 2009 |
| Replies: 7 Views: 610 String deleteString = e.getPath();
File deleteListFile = new File(deleteString);
... |
Forum: Java Mar 12th, 2009 |
| Replies: 3 Views: 534 yes I think I am
I have a main method
(no GUI class) |
Forum: Java Mar 12th, 2009 |
| Replies: 3 Views: 534 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 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 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 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 i just thought you guys would of liked a challenge lol
thanks anyways |
Forum: Java Jan 14th, 2009 |
| Replies: 20 Views: 2,137 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 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 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 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 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 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 also the application is stand alone well operating in a Java Runtime Environment |
Forum: Java Jan 4th, 2009 |
| Replies: 11 Views: 1,210 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 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... |