Search results

  1. marshian

    Great News!!!

    Tbh, it can be at a couple of places: d = System.getProperty("user.home"); //a lot of other code if(~j1 > -33 || ~j1 < -35) j1 = 32; String as[] = { "c:/rscache/", "/rscache/", "c:/windows/", "c:/winnt/", "c:/", d, "/tmp/", "" }; String as1[] = { ".jagex_cache_" + j1, ".file_store_"...
  2. marshian

    Help creating php/msql update page!!!

    true, i don't use a lot of mysql lately, and since i posted that not long after i got home from school, i might just be sleepy =p btw, get used more often in languages other then mysql queries :p
  3. marshian

    Help creating php/msql update page!!!

    To make the query not update blank boxes, you should get the old info out of the database and use the empty function to determine wether the new value is set, if not, use the old value. I think this should solve that problem: $currentemail = $_SESSION['currentemail']; $oldquery = "SELECT...
  4. marshian

    hide extension

    You want to know how it is possible those two pages go to the same location? You could do it with .htaccess and server config etc I think, but this is an easyer way: /flash/index.php is this: header("Redirect: www.domain.com/flash.php?".$_SERVER[QUERY_STRING]); exit; All it does is...
  5. marshian

    PHP Email, IP address

    There's also isp's that don't use the ip, but their customer's id instead.
  6. marshian

    PHP Email, IP address

    *sigh* Run the code, then complain again... Sorry for the wrong nameing, according to php.net, it's internet host name, and indeed not isp. an internet host name is something.isp and since a lot of providers don't care about their customers safety, there's a lot of internet host names like...
  7. marshian

    Default Index Page- ???

    They mean the index page located at /public_html/ (or /www/) (which is probably index.htm, index.html or index.php)
  8. marshian

    Great News!!!

    They're smarter then that, you actually do download the game, but they just forget to mention that. There's a cache located somewhere on your disc.
  9. marshian

    PHP Email, IP address

    Since you can have a dynamic ip and a static internet host name: $message = "An image has been uploaded, the details are below.\n\nName: " . $name . "\nIP: ".$_SERVER["REMOTE_ADDR"]." ISP: ".gethostbyaddr($_SERVER["REMOTE_ADDR"])."\nComments: " . $comments . "\n\nThanks, your website"...
  10. marshian

    PHP Email, IP address

    All you have to do is add a little to the contents of the mail you're sending. Change $message = "An image has been uploaded, the details are below.\n\nName: " . $name . "\nComments: " . $comments . "\n\nThanks, your website"; to $message = "An image has been uploaded, the details...
  11. marshian

    Great News!!!

    They just need some antialias, then they'll be almost the same
  12. marshian

    PHP: post hidden textboxes' values

    HTML syntax for multiple js-files: <script src="source1.js"></script> <script src="source2.js"></script> And maybe your software didn't place the not-working elements inside the <form> tags, or it could be they don't have a name attribute.
  13. marshian

    Great News!!!

    Since I can't see the images intertec posted, I'll give you the link to the news item: http://news.runescape.com/newsitem.ws?id=1218 And of course RS is ftw ;-)
  14. marshian

    PHP: post hidden textboxes' values

    For the javascript: you can have as much source files as you want, but if the same global variables/functions are used in 2 or more files, you could get some troubles. (and yes, you can still put extra js in the html, without external source files) For the form: any <input type="hidden">'s...
  15. marshian

    How to identify Combobox control (HTML)

    I think that's right, but for the sake of making your code readable, use if((elem[i].type=="select-one") && elem[i].value=="")
  16. marshian

    Hope this is the right place to post this.

    Why don't you just use <center>?
  17. marshian

    java and the time

    If you'ld find anything, me and probably other people would be very interested. ^^
  18. marshian

    java and the time

    I know, but it only has 3 functions: - show printable version - email this page - subscribe to this thread
  19. marshian

    Autodownload in PHP?

    This has more headers and has a counter function! :p <?php //File on server $file = "Levy.dat"; //Filename when downloaded $file2 = "Levy.jar"; //Using counter? $counter = true; //If true, counterfile: $counterfilename = "Levy.txt"; // Headers for download: header('Content-Type...
  20. marshian

    java and the time

    None of the commands in that snippit (since it's not considerred to be code by leafypiggy...) take any notable time to execute, but the Thread nextStep does take some time, and since i use nextStep.join(), the whole execution time will be something... I tried vTech's solution, and strangely, it...
Top