-
Posts
15,290 -
Joined
-
Last visited
-
Days Won
436
Everything posted by requinix
-
ajax message gets skipped to the url page not on required div
requinix replied to jadprash's topic in Javascript Help
There's code in there that says to do a redirect to whatever the response.url was. Tried removing that? -
ajax message gets skipped to the url page not on required div
requinix replied to jadprash's topic in Javascript Help
If the problem is that a message appears in signup.php then have you considered removing the message? -
Okay. So what's the problem?
-
Consider that __ is for translating text, not HTML.
-
If you want those subdomains to behave a certain way then you have to write the configuration to do it.
-
Not that I know of. The value is a date. Feed it to Date and be done with it.
-
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.
-
Try answering my question.
-
Is this a bug in Chrome or am I missing something?
requinix replied to garyed's topic in Javascript Help
There's nothing unusual in there so I have to assume there's something more going on here than just the alert. -
What is "etaDate"? According to the code.
-
Put the spinner in the place where the content is going to go, initially hidden, then unhide it when the button is clicked.
-
That is the correct answer. Why do you not want to do it?
-
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.
-
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?
-
Embedded Audio File always plays on load - even with autoplay off
requinix replied to Jimmy12's topic in PHP Coding Help
Not if you don't show the controls. -
Embedded Audio File always plays on load - even with autoplay off
requinix replied to Jimmy12's topic in PHP Coding Help
<embed> is so 1990s. Use <audio>. -
VB Array issue ,looking for some help
requinix replied to SkyRanger's topic in Other Programming Languages
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. -
VB Array issue ,looking for some help
requinix replied to SkyRanger's topic in Other Programming Languages
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. -
VB Array issue ,looking for some help
requinix replied to SkyRanger's topic in Other Programming Languages
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. -
VB Array issue ,looking for some help
requinix replied to SkyRanger's topic in Other Programming Languages
I'm thinking a regular expression that matches letters + '=' + single quote + stuff up until the next single quote + single quote. -
Correct Way To Com,press JPG With GD Library
requinix replied to mcfcstock's topic in PHP Coding Help
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. -
Correct Way To Com,press JPG With GD Library
requinix replied to mcfcstock's topic in PHP Coding Help
What do you think "compressed" means? What would an "uncompressed" JPEG be? -
Fixed.
-
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)