----- Original Message -----
From: "Heather Laidlaw" <[EMAIL PROTECTED]>


> Hooooray for BJ!  That's exactly what it was.  $(*&#$ host that doesn't
tell
> me when it upgrades.  Now I'm going to have to go fix all my pages.
*sigh*
> The evils of learning PHP and bad coding practices I guess..

There's a naughty deprecated way round it... at the top of each page you put
this:

  import_request_variables ( 'pg' );

This will make all the POST and GET variables available just like before
('fred' becomes $fred, etc) .  However this is a "possible security hazard",
huh.  You are really supposed to add a prefix as in

  import_request_variables ( 'p', 'post_' );

so that 'fred' comes out as $post_fred; but how is that worth the trouble
when you can just use $_POST['fred'] ? <shrug>

Bj



____ � The WDVL Discussion List from WDVL.COM � ____
To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED] 
       Send Your Posts To: [EMAIL PROTECTED]
To change subscription settings to the wdvltalk digest version:
    http://wdvl.internet.com/WDVL/Forum/#sub

________________  http://www.wdvl.com  _______________________

You are currently subscribed to wdvltalk as: [email protected]
To unsubscribe send a blank email to [EMAIL PROTECTED]

Reply via email to