Page 1 of 1

simple question...

Posted: Wed Jan 19, 2005 4:30 am
by pleigh
hi there,

i am new to php and programming a login form, at first i am receiving warnings, then turned the output_buffering to ON, then it proceeds to the redirected page. i was wandering if turning the output_buffering will have a security threat to every page that i make

thanks in advance.

pleigh

Posted: Wed Jan 19, 2005 4:37 am
by feyd
fixing your code to not need output buffering is preferred..

edit: have a read: viewtopic.php?t=1157

Moved to PHP - Code, for guidance. :)

Posted: Wed Jan 19, 2005 5:31 am
by onion2k
You're echoing something before a header() function. Thats the problem. Change your script so that theres nothing printed before you do the redirect.

(I'm using my special psychic PHP skills here.. don't even need to see the code. Maybe.)

Need Help???

Posted: Wed Jan 19, 2005 3:22 pm
by sambuchi
I've been using php over the past year...
I have posted some working examples here...
http://www.sambuchi.net
click the PHP link
Need a question answered or code let me know!!
:D :D :D