[UPHPU] php user authentication
Nathan Lane
nathamberlane at gmail.com
Wed Apr 23 21:10:32 MDT 2008
Thank you for clarifying that - every "PHP redirect" tutorial I found by
googling seemed to say that the header() function for redirecting had to be
the first line of PHP code. That was frustrating, and since I didn't know
any better, well that's why I came here, where I knew I could get an answer
:)
Nathan
On Wed, Apr 23, 2008 at 9:06 PM, Wade Preston Shearer <lists at wadeshearer.com>
wrote:
> The only thing I found about redirecting in PHP is using the
> > header(location) function, except that must be the first line in the
> > script,
> > so that makes it difficult, because I can't include an external library
> > or
> > anything, and I can't set a variable before I use it in that, like:
> >
>
> The header function doesn't have to be the first line of code in your
> script, you just can't redirect if other headers have already been sent.
>
>
>
> _______________________________________________
>
> UPHPU mailing list
> UPHPU at uphpu.org
> http://uphpu.org/mailman/listinfo/uphpu
> IRC: #uphpu on irc.freenode.net
>
--
Nathan Lane
Home, http://www.nathandelane.com
Blog, http://nathandelane.blogspot.com
More information about the UPHPU
mailing list