You are here: Re: [PHP] Cookie problem with IE « PHP « IT news, forums, messages
Re: [PHP] Cookie problem with IE

Posted by "Kristen G. Thorson" on 10/18/81 11:32

Jay Blanchard wrote:

>[snip]
>Anyone have any suggestions? I'm still stuck.
>[/snip]
>
>Can you send him another test where a basic cookie gets set and then
>checked?
>
>.
>
>
>


Not sure what you mean. I sent him to this script:

<?php
if( !isset( $_REQUEST['page'] ) ) {
setcookie('VATtest','Cookie has been set.',time()+50000, "/");
echo '<a href="'.$_SERVER['PHP_SELF'].'?page=1">Test cookie.</a>';
} else if( $_REQUEST['page'] == '1' ) {
if( isset( $_COOKIE['VATtest'] ) ) {
echo $_COOKIE['VATtest'];
} else {
echo 'Cookie NOT set.';
}
}
?>

Which is all I had in entirety. Is this not a "basic cookie?"


thanks,

kgt

 

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

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