You can store the value in a session variable session_start(); if (isset($_HTTP_SESSION_VARS['your_variable_name'])) { $value=$_HTTP_SESSION_VARS['your_variable_name']; //get the value }else{ $_HTTP_SESSION_VARS['your_variable_name']=new value; } You can use this script to pass values between pages. HTH Mustafa ----- Original Message ----- From: "Alexa Kirk" <akirk@ufl.edu> To: <php-db@lists.php.net> Cc: <nese@ufl.edu> Sent: Tuesday, April 01, 2003 5:35 AM Subject: Sharing variable values among PHP files > Does anyone know how to take a variable containing POST data from a form > and use this value in another PHP file? I need to take a username from > one PHP file and use it in a couple of other PHP files later when adding > to a database. > > Thank you, > Alexa Kirk > -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php