Merhabalar,
firstly do you use windows or linux?
id you use windows you shoul give the session_save_path to the script. (
session_save_path("c:\\user\\tmp"); )
if you use linux and no changes in your .ini files, your sessions store
in /tmp
directory...
<?php
session_start();
$id = 123;
session_register('id');
?>
<html>
<head>
<title></title>
</head>
<body>
<?php
echo $id;
?>
</body>
</html>
Kolay Gele...
Mesut...
SERKAN BALKANLI (EBÝ Bþk.-Analist Prog.) wrote:
> i am starting and registering session variable succesfully that i can see
> the file on the server , but when it comes to use or display i can not ,
> the variable has no value ... the "session.save_handler = files" is in
> php.ini , i tried to change it to user but that occured a fatal error etc..
> So shortly what is the thing that i am missing
> thanks alot
>
> --
> 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 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]