You are here: Re: Can't set cookies « All PHP « IT news, forums, messages
Re: Can't set cookies

Posted by Lee David on 06/15/05 13:58

Thanks for the reply. I can't see where any HTML is happening before either
the set cookie or the redirect. I'm probably missing something obvious to
you guys. Where am I doing any HTML?

Thanks, appreciate the response!

"Tony" <tony23.no@dslextreme.com.spam> wrote in message
news:11avm4k8b42hnd9@corp.supernews.com...
> Lee David wrote:
>> OK, I guess this one was too difficult. I tried to simplify it by
>> building one of these for each page so I don't have to call the
>> $_REQUEST variable to see who invoked the page. Still didn't work.
>>
>> I read in the manual that you can't have any "white space" before the
>> set cookie function so I put in comments on ever line so none of them
>> are "white space" and that didn't work. For some reason I can't
>> write cookies. Here is the code:
>
> You also can't have any HTML output before setting a cookie. It looks like
> you're doing that. If so, that's your problem.
>
> --
> Tony Garcia
> http://www.dslextreme.com/~tony23/
>
>

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация