Jump to content


  • Content Count

  • Joined

  • Last visited

  • Days Won


Everything posted by requinix

  1. Your local and production environments are not the same. Compare and contrast. Your PHP isn't being executed in the first place. That's the problem. The web server (Apache) has to know that it needs to execute your PHP. If it does not then you'll get those 404s.
  2. No, composer is not doing that. If your .htaccess is empty (or has a Deny from All) then of course /autenticar won't work. You need something in there to route URLs through your PHP script.
  3. requinix

    Physical Width (Inches) Of The Screen

    Don't do that. It won't take into account things like zoom, or people who don't fullscreen their browsers. You want responsive design.
  4. requinix

    Declaration Error, help needed

    Ah, I missed it earlier: Cog\YouTrack\Rest\Authenticator\void You need to be running PHP 7.1 or later to use the "void" typehint.
  5. requinix

    Declaration Error, help needed

    The definition of CookieAuthenticator::authenticate() does not match Authenticator::authenticate(). Look at the interface's version and compare to what yours is.
  6. I use TrueCrypt (before it went bad) to keep a hidden volume on a USB stick, and that's where I keep my assorted SSH keys and other stuff. And I bring that USB stick with me everywhere because it also has non-private stuff like a variety of (portable) programs.
  7. requinix

    Need help with this script

    That doesn't quite seem right. Why are you storing this... whatever it is, in the session? Surely the decision to update the password does not depend on the session but on what the user is trying to tell your system to do - ie, what's in $_POST?
  8. requinix

    MLM Special genealogy tree view

    Nope. Take your MLM stuff somewhere else.
  9. Isn't "looking for other PHP developers to work for" another way of saying you're looking for a job? Some of the job hunting places also offer the reverse - like you put up a resume and employers look for you.
  10. Parse each line with a regular expression. According to that log, it looks like ([\d.]+) (\S+) (\S+) \[([^\]]+)\] "([^"]+)" (\d+) (\d+) "([^"]+)" "([^"]+)" Remote IP address Likely a hyphen HTTP Basic username if given Date/time Request URI HTTP response code Response length HTTP Referer if present HTTP User-Agent if present
  11. requinix

    Need a dynamic Subform

    There are two basic ways you approach this: either you have the subform as a "template" in your Javascript and you keep adding copies of it as needed, or you use AJAX to load a new subform from the server. Which makes more sense to you?
  12. It would probably take less than five hours to try it and find out.
  13. requinix

    variables in CSS...

    Use inline CSS, be that written into the HTML or applied through Javascript. It's okay.
  14. requinix

    which wingpg you would suggest?

    Again, if you can tell me how GPG the concept works then I can tell you who will (hopefully) know whether you can transfer keys between applications.
  15. requinix

    which wingpg you would suggest?

    If you can explain to me the concept of GPG then I'll tell you who to ask for an answer.
  16. requinix

    Help with video watermark clarity

    Have you learned how the filters work yet? They can be very complicated. You will need them to be a little complicated in order to do this with one command. If you don't then you'll need more code and commands, like to resize images or identify video dimensions.
  17. requinix

    which wingpg you would suggest?

    There is only one "WinGPG".
  18. If you don't want to use PHP 7.0 then you should probably totally uninstall it.
  19. requinix

    Best Practice for searching on a website

    AJAX is a way for the browser to get something from the server without having to refresh the page. An API is merely what tells two things how to talk to each other. Since they won't want to put every location onto the page (probably), yes: they will use AJAX to ask the server for a list of locations matching what the user types. Something like that.
  20. requinix

    target a particular box of an input array

    Are you not using PHP? If you needed to add or remove fields after the page loaded, that's one thing, but if you know ahead of time then you should do all the work in PHP and deliver the completed result to the browser without it having to perform additional work.
  21. requinix

    Best Practice for searching on a website

    They have a big database of locations. Probably purchased from and/or subscribed to a service that tracks stuff like that so they don't have to try to stay up to date themselves. They know the latitude and longitude of an address, also probably from a third-party service (eg, Google Maps). A postcode has a location too, though it's obviously not quite as precise. Then they can do some pretty simple math to estimate the distance between the two points.
  22. requinix

    target a particular box of an input array

    map, each, same difference. First: why are you creating everything through Javascript?
  23. requinix

    target a particular box of an input array

    Before that, you know you're wrapping each input in its own form, right? Separately? You're creating the inputs and forms dynamically. Add an event listener to the form you make so that when it's (attempted to be) submitted that it checks the input against the item in the array. The only awkwardness is the array variable being reused so you can't use it in a closure, so instead of that try Array.map() like a.map(function(value, key) { // ... });
  24. The list is wrong? You could also try deleting it manually and re-adding it.
  25. If you already have one with the same name then you probably don't want to make another one, right?

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.