[PHP] cookies problem

2005-09-15 Thread Ross
I am very close to getting this sorted.Thanks for all the help on 'variable variables' and var_dump. Two useful techniques. My function works but throws up a cookie problem if (isset($add)){ ${$add} = intval($_COOKIE['cookie'][$add]); $new= $$add+1; setcookie(cookie[$add], $new $add);

[PHP] Cookies problem

2003-01-23 Thread Sabina A. Schneider
PHP general list I don't want to take much time, but I'm still having problems with cookies and I want to know if somebody could help my solve them. First of all I tried to put the cookie Path to the different pages, but didin't function. What's more I don't know what to put in

Re: [PHP] Cookies problem

2003-01-23 Thread Chris Shiflett
--- Sabina A. Schneider [EMAIL PROTECTED] wrote: I don't want to take much time, but I'm still having problems with cookies Sabina, First, to answer your question of path, you should start with / as it is the least restrictive. You can always try restricting cookies per directory later, but it

[PHP] Cookies problem

2003-01-22 Thread Sabina Alejandr Schneider
Hello people!!! This time I have a problem with cookies. I tried to send a cookie from one page with the function sendcookie(chat,$mail) to a page in another directory, but when I tried to prine echo($chat) or echo($_COOKIE[chat]) I got notheing. So I put the second page where it was the

[PHP] Cookies problem

2003-01-22 Thread Sabina Alejandr Schneider
Hello people!!! This time I have a problem with cookies. I tried to send a cookie from one page with the function sendcookie(chat,$mail) to a page in another directory, but when I tried to prine echo($chat) or echo($_COOKIE[chat]) I got notheing. So I put the second page where it

Re: [PHP] Cookies problem

2003-01-22 Thread Jason Wong
On Thursday 23 January 2003 00:13, Sabina Alejandr Schneider wrote: Please do not repeatedly repost the same question. Allow a reasonable period of time for people to reply. A reasonable period of time to allow would be one day. Hello people!!! This time I have a problem with cookies. I

Re: [PHP] Cookies problem

2003-01-22 Thread Sabina Alejandr Schneider
Sorry for reposting the mail, I thought nobody had recieved it. Sorry. The function is setcookie, not send cookie what I meant,it was my typing mistake. Thank you for your time and help. On Thu, 23 Jan 2003 00:23:35 +0800 Jason Wong [EMAIL PROTECTED] wrote: On Thursday 23 January 2003 00:13,

[PHP] Please Help: PHP Cookies Problem on localhost

2002-11-05 Thread Mark Brown
Hi there, the php.net site said I should email you with problems. The basic issue is that I have a user logon screen which works on a remote server but not when developing on the same machine that is a local server. I hold the username and passwords on mysql and ask the user for their username