Skip to main content
AMoktar
Participant
December 10, 2009
Question

[Q]XAMPP & DW Session

  • December 10, 2009
  • 1 reply
  • 308 views

I were using AppServ on my pc,

I moved to use XAMPP on Ubuntu 9

php+mySQL

the problem:

when i use login form with DW, the $MM_Username is not defined !

after user login succsefully, i can't echo the $MM_Username!

Can u help , please ?

thanks

This topic is closed to new replies. Start a new post to keep the conversation going.

1 reply

David_Powers
Inspiring
December 10, 2009

AMoktar wrote:

when i use login form with DW, the $MM_Username is not defined !

after user login succsefully, i can't echo the $MM_Username!

Dreamweaver doesn't create $MM_Username. It uses a session variable called $_SESSION['MM_Username'].

Sessions need to be enabled with session_start() at the beginning of each page to gain access to $_SESSION variables.