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?
weird error
Moderator: General Moderators
Not sure to be honestDo you want me to post the full code?
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.
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.
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.
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.
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.