On Sun, 14 Dec 2003 01:00:38 +0000, Geoff Berrow <blthecat@ckdog.co.uk> wrote:
[color=blue]
>I noticed that Message-ID: <vtnd10cqlh7499@corp.supernews.com> from
>Onideus Mad Hatter contained the following:
>[color=green]
>>Also I personally do not like posting code in these
>>groups, it just looks sloppy, it's much easier to just upload the file with a ph3
>>extension and point people to it. Much easier to see, much easier to browse through.[/color][/color]
[color=blue]
>You should at least make some attempt to isolate the problem yourself
>and then post the relevant bit of code.[/color]
I DID attempt to isiolate the problem. I said, specifically, it was the FIRST variable
which was being lost and that it had something to do with the URL and even more
specifically probably with global variables. Trimming the code down wasn't really an
option, cause it's pretty much all relevant to the function and design (if you took the
time to really look at it you'd see it operates like something from an MC Escher piece).
And actually, the version I have up is the 3rd version of the code, I ripped the whole
thing apart twice and rebuilt it, each time refining my code. In fact I might even do a
4th rendition of it and see if I can't trim down the portion where it determines whether
to color the system and letter blue or not.
[color=blue]
>I've spent hours stripping away bits of code to try to find a problem.
>I wouldn't dream of banging the whole lot up and expect the people here
>to look at every bit. Now that /is/ sloppy.[/color]
Technically speaking I doubt anyone would even need to look at my code...if they're
experienced enough with PHP (and forms). I mean, the code itself doesn't really appear to
be the problem, if it was, then why would moving it do a different directory solve one
problem but then create others? Also, if it was the code, how come the code works with
some games and not with others? And why is there no discernable pattern? I already
checked for special characters, string lengths, string patterns, etc, etc, there is no
pattern to it, therefore, the problem seems inherent to the design of PHP and forms, ie a
general question about the functionality of PHP in relation to forms (as well as a bit of
basic jscript). Which many people with more experience than I have, have probably dealt
with before...although that's making the assumption that any of you have any idepth
experience with PHP, much like how you make the assumption that I haven't tried to isolate
and figure out the problem on my own. And in fact, I did SOLVE the problem on my own, at
this point I'm merely asking for an explanation as to the WHY behind it. Granted I am
doing something a little off the wall, using onClick redirects to change drop down boxes
in hidden layers (so I can avoid those nasty unchangable grey drop down boxes). I'm also
having it redirect variables directly into button submits and so forth. So I dunno, maybe
none of you have any experience doing anything like that. *shrugs*
--
Onideus Mad Hatter
mhm ¹ x ¹
http://www.backwater-productions.net