On 19 October 2003 13:00, David T-G wrote:

> It seems to me that for a fast fix I could set $pw
> and other
> vars in my include file in place of registering them and then, later,
> take my time to correctly switch over to $_POST['pw'] and
> $_SESSION['pw'] everywhere.  Does that sound like a good two-step
> approach to 
> get all of
> my code back up and running the soonest?

Yes.  There's even a PHP function to help with this quick-and-dirty solution -- 
extract($_SESSION) should do what you want (see http://www.php.net/extract).

Cheers!

Mike

---------------------------------------------------------------------
Mike Ford,  Electronic Information Services Adviser,
Learning Support Services, Learning & Information Services,
JG125, James Graham Building, Leeds Metropolitan University,
Beckett Park, LEEDS,  LS6 3QS,  United Kingdom
Email: [EMAIL PROTECTED]
Tel: +44 113 283 2600 extn 4730      Fax:  +44 113 283 3211 

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to