Jump to content

requinix

Administrators
  • Posts

    15,290
  • Joined

  • Last visited

  • Days Won

    436

Everything posted by requinix

  1. There's code in there that says to do a redirect to whatever the response.url was. Tried removing that?
  2. If the problem is that a message appears in signup.php then have you considered removing the message?
  3. Okay. So what's the problem?
  4. Consider that __ is for translating text, not HTML.
  5. If you want those subdomains to behave a certain way then you have to write the configuration to do it.
  6. Not that I know of. The value is a date. Feed it to Date and be done with it.
  7. Let's take a closer look at the first two lines. var etaDate = new Date(); etaDate = document.getElementById("etaDate").value; On the first line, you set etaDate to be a new Date instance. On the second line you throw away that Date and instead get a value from some input. Does that seem weird? Also, the .value from a form field is always a string. Always.
  8. Try answering my question.
  9. There's nothing unusual in there so I have to assume there's something more going on here than just the alert.
  10. What is "etaDate"? According to the code.
  11. Put the spinner in the place where the content is going to go, initially hidden, then unhide it when the button is clicked.
  12. That is the correct answer. Why do you not want to do it?
  13. Pretty sure nobody has an email address 65,535 characters long. Nor 150 either, for that matter. The technical limit is 320, but if you find someone complaining that their 151-character long email address isn't working in your system, you can deal with it then.
  14. I don't think I understand. Are you suggesting there's at least one other equally-valid solution besides increasing the length of the column? Why is it even limited to 32 in the first place?
  15. Not if you don't show the controls.
  16. <embed> is so 1990s. Use <audio>.
  17. Ugh. That's really not that great. So the "stuff up until the next single quote" I said won't work because it'll stop just before "King". Only other option is to match anything, but be "ungreedy" about it: meaning to match as little as possible so that the regular expression can keep going. Immediately after that comes the closing apostrophe, then letters and an equals sign. That last part won't match when it hits "King", so the engine will go back and match Nat + King. Then it won't match again with Cole, so it'll finally go all the way through "Song" at which point everything will work.
  18. What about that? If you're responding to my thing about apostrophes, I don't see any in there. Besides the ones used around the StreamTitle and StreamUrl values. I meant a title with an apostrophe in the value, like... maybe "Frankie Carle - Ridin' High, Vocalion". On that note, the guy's name is apparently Frankie Carle.
  19. By the way, you should probably find yourself a stream that has an apostrophe in the title and see what the corresponding StreamTitle looks like.
  20. I'm thinking a regular expression that matches letters + '=' + single quote + stuff up until the next single quote + single quote.
  21. If you know what JPEG compression is then I would expect you to know that JPEGs are already compressed. If you're looking to vary the degree of compression then take a closer look at imagejpeg()'s third argument. The one you have set at 75.
  22. What do you think "compressed" means? What would an "uncompressed" JPEG be?
  23. If all you want is the isokresult then you can get it... well, I won't say "easily" because SOAP just loves using namespaces, but it is a one-liner. Kinda. Don't need XPath. (string)$xml ->children("http://schemas.xmlsoap.org/soap/envelope/") // switch to soap namespace ->body // <soap:body> ->children("http://tempuri.org/") // switch to this isokwhatever namespace ->isokresponse // <isokresponse> ->isokresult // <isokresult> (still in the isok namespace)
×
×
  • 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.