![]() |
| | #2 | ||
| Runs This Show | I've never seen that before. Where in the request is it ending up? Appended to the end? Or somewhere in the middle? Can you provide an example page? | ||
| | |
| | #3 | ||
| Junior Member Join Date: Sep 2007
Posts: 3
![]() | It ends up as the last element in the $_GET global. The url of the recieving page doesnt contain anything interesting... '/scripts/ajax_validation.php' var_dump of $_GET... 'fieldValue' => string 'sdjdj*' (length=6) 'param0' => string 'validate_none' (length=13) 'param1' => string 'ValidatorRuleNotNull' (length=20) 'param2' => string 'validatorRegEx_p13n' (length=19) '_' => string '' (length=0) The parameters passed in the ajax.request... fieldValue=fsjmfj*¶m0=validate_none¶m1=Val idatorRuleNotNull¶m2=validatorRegEx_p13n Cheers. Hope i can get this working as it's a great idea doing what you are with this. | ||
| | |
| | #4 | ||
| Runs This Show | Hmph. I rarely actually dump the $_GET variable or iterate through it. I typically use the parameters that I'm sending by name. Security wise, you should be ignoring any unrecognized GET or POST parameters, or perhaps failing when you see ones that you aren't expecting. But who knows, that could be exactly how you found this problem. I'm a little tied up today, but if I get a chance at lunch I'll try to re-create the problem and troubleshoot. What's strange is that it's declaring the variable, but not actually putting anything in there. I've used the compressed libraries extensively and I'm always using ajax and I have never noticed the problem. In most situations I'm posting data, though. I can't think of any code I've written off the top of my head that uses GET. Anyhow, I'll get back to you at some point today with my progress. | ||
| | |
| | #5 | ||
| Junior Member Join Date: Sep 2007
Posts: 3
![]() | Thanks Steve. That is pretty much how i came across the problem sure. I was expecting to see only fieldValue and then a variable number of param[int] elements. Having the underscore in there caused the code to fail. Thanks for yuor help | ||
| | |
| | #6 | ||
| Runs This Show | I haven't forgotten about you, but I did get caught up in some other things. Sorry. Hopefully I'll get back to you this evening sometime. | ||
| | |
| | #7 | ||
| Runs This Show | I've tested 6 versions of the compressed prototype library - PHP Code: I created a simple test page. You can view the source here. I even linked against the downloads directly - although for the 171 beta files, I had to use new links. Apparently I have an unwelcome line break in the originals. Using firebug as well, I don't see any problems with the requests at all. I wonder if this may have something to do with the character set you are using. Perhaps try out something like this: PHP Code: | ||
| | |
| Thread Tools | |
| Display Modes | |
| |
| | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Bug: Footer Element in IE | Steve | Support | 1 | 02-18-2007 03:32 PM |
| Discussion: Lawrence Livermoore Discovers Element 118 (again) | MT Integration | Article Talk | 0 | 02-07-2007 06:42 PM |