httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "S. David Sheeks" <sdshe...@isdponline.com>
Subject RE: PHP Session
Date Wed, 30 Jan 2002 01:43:22 GMT
Correct me if I'm wrong but shouldn't it be something like:

<?php
session_start();
session_register("name")
$name = "my name"
echo $name
?>

-----Original Message-----
From: Vernon A Webb [mailto:VernMan@net-nation.com]
Sent: Tuesday, January 29, 2002 8:28 PM
To: Apache
Subject: PHP Session


I am pulling my hair out trying to set a session. Can 
anyone please tell me what's wrong with this could? I 
simply want to set a session and echo it back to the page.

Thanks

<?php
session_start();
session_register("name")
{
$name = my name
}
echo "$name"

?>



---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org



---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message