Welcome to Laser Pointer Forums - discuss green laser pointers, blue laser pointers, and all types of lasers

Buy Site Supporter Role (remove some ads) | LPF Donations

Links below open in new window

FrozenGate by Avery

Help with PHP

I actually *just* discovered something.

When PHP encounters an error somewhere, it *immediately* outputs the error message - this causes your session to fail because PHP must send headers to output the error message.

Interesting piece of information that may help you.

-Trevor
 





Do you know of any other login scripts? I do not think this one is working for me.
 
Ah found the problem.
The encoding is utf-8 which adds "" to the beginning. This creates problems since it is interpreted as "html"
Thanks for the help~!
Now if only I could find a text editor that can solve this...
 
Last edited:
Ah found the problem.
The encoding is utf-8 which adds "" to the beginning. This creates problems since it is interpreted as "html"
Thanks for the help~!
Now if only I could find a text editor that can solve this...

I wrote PHP in notepad until I switched to Dreamweaver. I'm not sure about the encoding though - the host may have been re-encoding the scripts upon uploading.

-Trevor
 
I use notepad++ for my coding, no matter what language it is.

-Moptsp
 





Back
Top