Hi
I am following the php tutorial in www.vtc.com.
Even if I set my Safari browser(since I’m using a MAC and therefore MAMP local hosting) to always accept cookies, I still have trouble using session_register or setcookie to work properly. E.g.
For the setcookie problem:
//Above is one file
//Below is the ‘read_from_cookie.php’
But when I open the file in MAMP using Safari or Firefox I only get “My eyes are”
For the session_register function…when I use Firefox to open it, it doesn’t work properly as well.
Here is my code
//Above is one file
//Below is the ‘show_session_var.php’ file
Am I missing something? I have also tried enabling register_global in the php.ini file, but that doesn’t seem to work either…plus ppl have advised against enabling that for security reasons…
Please help me go over this roadblock…thank you…