[PHP] How to detect if cookies are enable?

2001-11-20 Thread pekesan


Does anyone know how to detect if the client browser allows cookies or not?


Thanks in advance.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] Problems.Sessions id on urls

2001-11-20 Thread pekesan

Some browser (konqueror) show the session id in the url. Does anoyone know 
how to aviod that. Netscape does not show the session id.

Thanks in advance

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] $HTTP_REFERER problem

2001-08-22 Thread pekesan

I know that some browsers doesn't gives support to $HTTP_REFERER variable ( 
lynx in example). I am thinking on checking the browser ident (with 
HTTP_USER_AGENT) and managing $HTTP_REFERER as a session var in those cases 
who doesn't give support. But it would be great that if somebody found 
another solution shares it with me.

Thanks in advance , and compaints about my English,

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] Problems with RELOAD on browsers

2001-09-02 Thread pekesan

Hi...
I have a php url on wich in some steps through several forms (on the same 
url) I do some interaction with DB. I have a session variable with the step I 
am currently doing.

For example

session_start();
if (!session_is_registered("MyVar")) 
{
session_register("MyVar");
$MyVar="Second Time";
//Do some stuff
//Show a form with the same url in action 
}
elseif ($MyVar="Second Time)
{
//Do some stuff with the previous form data
//Show a form with the same url in action 
$MyVar="Third Time";
}
elseif ($MyVar="Third Time")
{
//Do some stuff with previous form data
session_unregister("MyVar");
//link to the main page
}

The problem appears when the client-user use reload on the browser. The 
aplication goes on to the next step without the form data. 
My question are:

Is there any way to go back to the fisrt step when a user makes a reload?
Does anybody know another idea to manage this kind of work?

Thank in advance

[EMAIL PROTECTED]

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]