Re: Re: Session warning

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Thanks is for the help.
That is a very good command.

Here is what I have now.
[thomas@thomas property]$ od -c adminlogin.php | head
0000000   <   ?   p   h   p           s   e   s   s   i   o   n   _   s
0000020   t   a   r   t   (   )   ;       r   e   q   u   i   r   e   (
0000040   "   f   u   n   c   t   l   i   b   .   p   h   p   "   )   ;
0000060       ?   >  \r  \n               <   h   t   m   l   >  \r  \n
0000100               <   h   e   a   d   >  \r  \n  \t       <   t   i
0000120   t   l   e   >   L   o   g   i   n   <   /   t   i   t   l   e
0000140   >  \r  \n  \t       <   l   i   n   k       r   e   l   =   "
0000160   s   t   y   l   e   s   h   e   e   t   "       t   y   p   e
0000200   =   "   t   e   x   t   /   c   s   s   "       h   r   e   f
0000220   =   "   .   .   /   .   .   /   c   s   s   /   t   a   b   l
[thomas@thomas property]$

Also I gess I can't have the null line at the top of my file.

Again Thanks of the help.
Thomas

On 7/16/05, Rasmus Lerdorf <rasmus@xxxxxxxxxxx> wrote:
> Thomas Bonham wrote:
> > Ok that is some help.
> >
> > The first five lines of the file are the following.
> >
> >
> >    <?php
> >        session_start();
> >        require("functlib.php");
> >    ?>
> >
> > od -c adminlogin.php | head out put the folowing.
> >
> > [thomas@thomas property]$ od -c adminlogin.php | head
> > 0000000  \r  \n               <   ?   p   h   p      \r  \n  \t       s
> > 0000020   e   s   s   i   o   n   _   s   t   a   r   t   (   )   ;  \r
> > 0000040  \n  \t       r   e   q   u   i   r   e   (   "   f   u   n   c
> > 0000060   t   l   i   b   .   p   h   p   "   )   ;      \r  \n
> > 0000100       ?   >  \r  \n               <   h   t   m   l   >  \r  \n
> > 0000120               <   h   e   a   d   >  \r  \n  \t       <   t   i
> > 0000140   t   l   e   >   C   I   S   1   6   6   A   E       -       A
> > 0000160   d   m   i   n       L   o   g   i   n   <   /   t   i   t   l
> > 0000200   e   >  \r  \n  \t       <   l   i   n   k       r   e   l   =
> > 0000220   "   s   t   y   l   e   s   h   e   e   t   "       t   y   p
> 
> well, there is your answer.  Your file starts with \r\n
> So your PHP tag is not the first thing in your file and PHP will output
> that leading \r\n.
> 
> -Rasmus
> 


-- 
------------------------------------------------------------------
Thomas Bonham
thomasbbonham@xxxxxxxxx
bonhamlinux.org
Cell 602-402-9786

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux