To Any and All,
i've been messing around with authenticating a user to my database, but i cannot seem to get the users authenticated.
i certainly don't expect anyone to write a script for me here, but can someone give me an idea as to how the sytax will read, or rather, what function does one use to achieve this? this has to be one of the most common uses for php in order to return customized pages for a user...
the following is the generic connect script i use on my intranet server for entering simple data to my various databases (insecure):
<?php
mysql_connect('localhost', '', '') or die ("sorry, no mysql connect possible");
mysql_select_db ('auth') or die ("sorry, no db connect possible");
?>
, but i know that i should probably be using a different function for the type of authentication i am referring to.
i've messed with mysql_fetch_array and a couple of the like, but cannot seem to find the right fit.
thanks for whatever help you can offer!
cheers,
mej!A
:wq