i did that and it doesn't say that theere there, how do you set cookies so
that theyy dont expire (maby the expiration is set wrong...... i'm a newb
with cookies
"Joel Kitching" <[EMAIL PROTECTED]> wrote
Are you sure you're trying to access them properly, and on the next
> page refresh?
>
> ex)
>
> <?php
> // Print an individual cookie
> echo $_COOKIE["TestCookie"];
> echo $HTTP_COOKIE_VARS["TestCookie"];
>
> // Another way to debug/test is to view all cookies
> print_r($_COOKIE);
> ?>
>
> On Sat, 19 Jun 2004 15:56:36 -0600, water_foul
> <[EMAIL PROTECTED]> wrote:
> >
> > all i did was a function and some conditionals
> > "Joel Kitching" <[EMAIL PROTECTED]> wrote in message
> > news:[EMAIL PROTECTED]
> >
> >
> > > Did you do this before you sent some outut?  This would send headers,
> > > therefore causing you to not be able to send the "cookie" header.
> > >
> > > On Sat, 19 Jun 2004 15:51:00 -0600, water_foul
> > > <[EMAIL PROTECTED]> wrote:
> > > >
> > > > whats wrong with this script
> > > > setcookie('link' . $loopnum . '',$url,time()+3600*200);
> > > > setcookie('name' . $loopnum . '',$name,time()+3600*200);
> > > > it doesn't write the cookies
> > > >
> > > > --
> > > > PHP General Mailing List (http://www.php.net/)
> > > > To unsubscribe, visit: http://www.php.net/unsub.php
> > > >
> > > >
> >
> > --
> > PHP General Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
> >
> >

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

Reply via email to