Page 2 of 2
Posted: Wed Aug 04, 2004 1:37 am
by dwfait
the login is set by cookies, so youll have to go to
http://sspn.stormystudios.com/index.php?action=register to register, and then ?action=logins to login.
Do you want me to post the full code?
Posted: Wed Aug 04, 2004 1:42 am
by markl999
Do you want me to post the full code?
Not sure to be honest

You definetly have logic problems that will require seeing the full code, just not sure i can handle any more if/else blocks

Might as well post it if it's not too big, or even better copy index.php to index.phps so we can see the code online.
Posted: Wed Aug 04, 2004 1:52 am
by dwfait
ive uploaded it to
http://sspn.stormystudios.com/index.txt, as it is 301 lines long. (good luck lol)
btw, your up early for a fellow englishman. ive been up all night...its summer holidays for me, i sleep all day and am awake all night.
Posted: Wed Aug 04, 2004 2:52 am
by markl999
oooook. Without being too cruel, that might be the worst piece of PHP code i've ever seen. After about 20 minutes of going through indenting it i tried to stab my eyes out with my mouse.
Anyway, onto something more constructive

I wouldn't carry on with what you have, it's so wrong it i could hardly find a line that was correct, so it needs rewriting, and i'm going to do it for you

Let me know if you'de rather continue hacking your way through that pile of 'code' and i won't bother rewriting it, but i can't even begin to start telling you how to fix that existing code, it's too far over to the dark side.

Sorry if i'm being a bit blunt but i feel it's better to stop you now before you do someone some serious damage with your code.
Posted: Wed Aug 04, 2004 2:54 am
by dwfait
lol. i thought as much. i have only been learning for 3 days...
your not cruel, your telling the truth, and i know i am a noob at PHP.
by all means, please re-write the code, although it works ok for me...
Posted: Wed Aug 04, 2004 3:29 pm
by dwfait
how goes the taming of the beast?