Jump to content

requinix

Administrators
  • Posts

    15,288
  • Joined

  • Last visited

  • Days Won

    436

Everything posted by requinix

  1. They're both correct. Compare the two. Can you see what's similar between them and what is not? Do you see a pattern to it? The difference is what properties are accessible.
  2. Stuff doesn't break randomly. If the certificate is the problem then your browser should be logging some errors about it. If not, something else probably changed, and the browser will probably have some errors about it.
  3. Book? Books take time to publish. That means they are never up to date with latest standards and practices, and trying to publish early is risky. Any reason you don't want to use any of the millions of online resources?
  4. https://www.google.com/search?q=eloquent+enable+query+log
  5. Look for a toSql() method, or Eloquent has a query log you can enable.
  6. let obj = o.target; if(obj.id==='added-line') { According to the docs,
  7. Most Linux PHPs get their information from the system's timezonedb, so all you have to do is update the system - which you'd need to do anyway.
  8. FTP doesn't do transfers like that. Use a temporary file like your code is already doing (but remember to delete it afterwards); get the temporary file name with tempnam.
  9. mail() is easy to use but not very good at what it tries to do. Consider using something like PHPMailer or Switft Mailer instead.
  10. That would be a great description for someone who was already familiar with everything you were doing and was watching over your shoulder as you tried to tackle this problem. We are neither.
  11. You can't index on a function call. Having attempted this before (a very long time ago), bitwise isn't a good answer. It seems like the data is efficient and compact but that's not what you should be striving for with a database: what you need is a good representation of the data. Plus your PermissionEnum bits don't make sense. For example, they imply everything is public. Not that I'm exactly following along with what you're doing but everything public doesn't sound like what you want. What's probably easier than bits is a simple table of individual IDs and permissions.
  12. What's the table schemas? What query(ies) are you initially thinking of running, and/or what results are you trying to get out of them?
  13. The simplest answer would be to give the <p> an ID like the <span> does, then modify its contents...
  14. That code has a line which changes the text (according to the amount of time left). It also has a if block that does something when the countdown ends.
  15. Any change if you lower the sleeping time(s)?
  16. How fast does the output come? Is it 500 almost instantly or do they come in over the course of a minute? Is the script stopping "normally" because it thinks there's output or because it has some sort of problem (like a timeout)?
  17. If there's an error then it would help to know what that error says...
  18. Threads merged. We can try to help, but would need quite a bit more information. Like what forum software it's using. And assuming that comments were ever working, what's changed recently.
  19. * means any element. div.font only applies to DIVs with a "font" class while .font applies to any type of element with a "font" class. # is for IDs. These are fairly basic CSS questions...
  20. phpunit/phpunuit already provides phpunit/php-timer. Don't install it again. composer remove it, delete your vendor directory, and composer install.
  21. I gave you the wrong name. The Composer package is phpunit/php-timer, therefore the files would be in vendor/phpunit/php-timer. Do you have them?
  22. Try regenerating your autoload files, just in case that didn't happen properly. That class looks like it comes from sebastianbergmann/php-timer. Make sure you have that directory in your vendor/.
  23. Did you install it with Composer?
  24. You're not listening to me. I'm not asking you to describe what happens when you run either of these scripts. I'm asking you to actually run the URLs I'm telling you about and see what happens. Because the answer to your original question of "are there security problems here" is a very definite "yes", and I had hoped that the easiest way to tell you about it would be for you to watch it happen yourself.
×
×
  • Create New...

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.