RE: [PHP-DB] Re: forced page links...

2002-02-27 Thread David Redmond
Jas, Try looking into the $HTTP_REFERER variable, for example; ? if ($HTTP_REFERER != PageItShouldBeComingFrom.php) { Header (Location: index.php); } // blah blah ? Cheers -Original Message- From: jas [mailto:[EMAIL PROTECTED]] Sent: Wednesday, 27 February 2002 6:04 PM To:

RE: [PHP-DB] Re: PHP advice

2002-02-25 Thread David Redmond
You should enclose any string that you searching on within a ' and ' Your SQL query should look something like; $query = SELECT * FROM auth WHERE password = '. $password .'; Cheers Greg Lobring [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... I dont understand