Recent content by Blackcompe

  1. B

    how do i put a code into a public_html folder?

    Just enter the FTP address, user name and password. I've never used Filezilla. I use FireFTP, it's a Mozilla add-on. Very easy. It has explorer-like GUI. Good luck.
  2. B

    PHP form help with the mail command?

    If I am not mistaken the mail function takes a few arguments.
  3. B

    Why isn't this code working? (PHP)?

    Perhaps it's because your statement doesn't end with a semicolon.
  4. B

    anyone know both php and java?

    I know both very well, and I think PHP uses less code to do the same thing. I hear that interpreters are much faster than JVMs as well. MVC is what makes Java better for enterprise systems, because it's easier to combine forces. If you ask which one is better, most people will say, "PHP for web"...
  5. B

    anyone know both php and java?

    I know both very well, and I think PHP uses less code to do the same thing. I hear that interpreters are much faster than JVMs as well. MVC is what makes Java better for enterprise systems, because it's easier to combine forces. If you ask which one is better, most people will say, "PHP for web"...
  6. B

    How to write a java program using arrays?

    Your code throws an exception in getData(String). You didn't give the tokenizer the delimiter argument, which is the regular expression you are required to use. Eh.... let me clean this up, brb.
  7. B

    Easy java questions quiz?

    1. What does Static Mean? The Static modifier indicates that there is one copy of the object that's shared by all instances that have access to it. 2. What exactly is an iterator? An object that traverses the elements of a collection. 3. What does // for (Collection l : ls){...}// do? '//'...
  8. B

    sql injection in php?

    If I enter %'# into your form, the query would turn into: SELECT * FROM `master` WHERE `numer` LIKE '%' That may return all the records in your table. Try it. The pound symbol indicates a SQL comment, so any syntax after it will become a comment.
  9. B

    php and hilighting within option?

    Replace echo("<option value='cat'><font " . Hilight("cat",$teach) . ">" with echo("<option value='cat'><font " . Hilight("cat",$teach) . ">
Back
Top