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

LPF Donation via Stripe | LPF Donation - Other Methods

Links below open in new window

ArcticMyst Security by Avery

Help with PHP

Trevor

0
Joined
Jul 17, 2009
Messages
4,386
Points
113
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
 





Joined
Mar 20, 2008
Messages
1,341
Points
0
Do you know of any other login scripts? I do not think this one is working for me.
 
Joined
Mar 20, 2008
Messages
1,341
Points
0
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:

Trevor

0
Joined
Jul 17, 2009
Messages
4,386
Points
113
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
 

Moptsp

0
Joined
Sep 23, 2009
Messages
429
Points
0
I use notepad++ for my coding, no matter what language it is.

-Moptsp
 




Top