Reply to RE: [PHP] Problem with session

Your name:

Reply:


Posted by Yangshiqi on 02/06/05 09:32

Make sure that in your php.ini, include this:
variables_order = "GPC"
gpc_order = "GPC"

there C means $_COOKIES


Best regards,
Yang Shiqi




-----Original Message-----
From: Theeraputh Mekathikom [mailto:theeraputhm@siamcoolsite.com]
Sent: Sunday, February 06, 2005 2:52 PM
To: yangshiqi
Cc: php-general@lists.php.net
Subject: Re: [PHP] Problem with session

I found the problem. I have passed SID using GET and then using
session_id($_GET['sid']);, it works fine.
But it seems that I cannot use cookie at all. I tried to set cookie
manually, setcookie();. Nothing happen, I cannot
retrive my variable using $_COOKIE['sid'];. Is there anyway to check
cookie enabling? My web browser
seems to be ok since I can accept cookies from other site. I do wonder
whether that it is because the server PHP
configuration.

Best Regards,
Thone

[Back to original 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

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