Darkie Minotaur
Registered User
Join date: 24 Jul 2008
Posts: 5
|
01-02-2010 03:01
I have a script that make a number of requests to a php file. Everything seems to work just fine - but I can't get the proper responses to work with them. I've tried with three requests - but I never can get the message body of the secand. The php code is working fine.
Can anyone help me on this?
Thank you!
Chris
P.S.: Attachments don't seem to work - but I'll gladly send you the files
|
Tanith Rosenbaum
Registered User
Join date: 10 Sep 2008
Posts: 42
|
01-02-2010 05:03
it's really hard to tell without seeing the code. Are you storing the request keys, and are you checking for them in your http_repsonse event?
Anyway, just copy/paste the code directly into your post here, that is the easiest way. Once we see it it's much more likely you'll get help here.
Cheers. T.
|
Darkie Minotaur
Registered User
Join date: 24 Jul 2008
Posts: 5
|
Solved
01-02-2010 05:44
Thanks for your reply, Tanith. I would have posted the code - but the forum wouldn't let. After 2 days of fiddling, I found a solution. I was looking in the http_response - by looking for a flag for the action I've last sent and stored in a global variable. The trick was to use a single if statement in which I chech for th proper key of the http request and the proper action flag (using &&  rather than two nested statements. Thanks again. Chris
|
Void Singer
Int vSelf = Sing(void);
Join date: 24 Sep 2005
Posts: 6,973
|
01-02-2010 08:30
just for future reference, a less than sign followed by a character will give the forum fits and stop you from posting... so insert a space after them... there's a few more goofy things that will do the same thing related to SQL keyword combinations https://jira.secondlife.com/browse/WEB-917 and the related jiras
_____________________
| | . "Cat-Like Typing Detected" | . This post may contain errors in logic, spelling, and | . grammar known to the SL populace to cause confusion | | - Please Use PHP tags when posting scripts/code, Thanks. | - Can't See PHP or URL Tags Correctly? Check Out This Link... | - 
|