Jump to content


  • Content count

  • Joined

  • Last visited

  • Days Won


Everything posted by davej

  1. It seem like SEO is mostly voodoo. https://www.seroundtable.com/google-absolute-vs-relative-urls-26001.html
  2. Learn about relative paths... https://www.w3schools.com/htmL/html_filepaths.asp Also another common problem is that when testing on a Windows pc the paths and file names are not case-sensitive -- but then you transfer the file to a Linux server which is case-sensitive.
  3. davej

    create a web

    File upload to the web root folder?
  4. davej

    using DOS command for batch file

    If you're using Windows 10 you can install Linux and use Bash scripts. https://docs.microsoft.com/en-us/windows/wsl/install-win10
  5. davej

    request about a script

    As Ingolme says, you have the decryption code and obviously Javascript is the only reasonable language choice. The problem is choosing passwords and detecting success. Now, as an example, if you know that the successful decryption will result in a phrase that contains one of the English words; "the", "and", or "is" then an "appropriate test" you might use; test = toLowerCase(test); if(test.indexOf('the') != -1 || test.indexOf('and') != -1 || test.indexOf('is') != -1){ alert(test); } or this might be better... var t = toLowerCase(test); if(t.indexOf(' the ') != -1 || t.indexOf(' and ') != -1 || t.indexOf(' is ') != -1){ alert(test); }
  6. davej

    request about a script

    1. You need to have some idea what was encrypted -- and an appropriate test that will detect that output. 2. You need a list of passwords such as Popular Passwords 2017 3. You need to write a script that will attempt each password in the list and test the result.
  7. davej

    request about a script

    I think this would be a good beginner's project for you.
  8. davej

    request about a script

    Sure, if the password that was used was weak and you have a dictionary of all probable passwords.
  9. davej


    Why is this said to be a critically important new technology?
  10. davej

    What is needed to make this form work?

    The file "form-to-email.php" does not exist.
  11. davej

    introducing the website for the app

    We have no idea what is available in your country. You will have to search.
  12. davej

    introducing the website for the app

    W3Schools does not have an Android or a Java tutorial. Do you know Java? https://developer.android.com/guide/
  13. davej

    Another Way of Expressing the Null String

  14. davej

    introducing the website for the app

    Maybe try Google Translate?
  15. davej


    New? https://www.w3schools.com/python/default.asp
  16. Does the Safari console show any errors? https://support.apple.com/guide/safari-developer/debugging-overview-devd24689f72/mac
  17. davej

    Protect PHP renaming with a pin number

    Are you saying that you don't want to allow external links to the file? What about bookmarking?
  18. davej

    few checkbox checked, but count as one

    You want a Php variable to count up the checkboxes in this manner, but don't you also want to know which exact checkboxes were checked?
  19. davej

    hex to binary conversion understanding

    Because it omitted the leading zeros.
  20. davej


    Here is a discussion... https://www.youtube.com/watch?v=9s93uFphPb8
  21. davej


    Well, I am aware of this, but I keep seeing claims that the "blockchain" itself is an important idea. For example it is claimed that IBM is working on 400+ different blockchain-based concepts. I think they are proposing that it can be useful for a variety of secure distributed/decentralized transactional systems.
  22. davej


    You have html inside the script block so that isn't going to work, and the html should be above the script block.
  23. <?php session_start(); $pageLevel = "4"; $user = isset($_SESSION['user']) ? $_SESSION['user'] : ''; $userLevel = isset($_SESSION['userlevel']) ? $_SESSION['userlevel'] : ''; ?> <!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title>title</title> </head> <body> <?php if ($user == '' || $userLevel == ''){ ?> <h1>Forbidden. You do not have permission to view this page.</h1> <?php }else if($pageLevel > $userLevel){ ?> <h1>Sorry <?php echo $user ?>. You do not have permission to view this page.</h1> <?php }else{ ?> <div id="content"> <h1>Welcome <?php echo $user ?></h1> <h4>This is the protected content.</h4> </div> <?php } ?> </body> </html>
  24. Although it works -- as a part of browser backward-compatibility -- I doubt that anyone recommends that approach anymore.
  25. davej

    Canvas image events?

    If you have a canvas and you want to have some number of visible images on it with mouseover events (or the equivalent) for each image what is the most efficient approach to accomplish this? Is it possible to use the images in some manner with mouseover events? Or must I simply use the mousemove event and keep checking the mouse coordinates? Thanks.