i always used to write dynamic web pages with MS-ASP, i am now converting my work to PHP, i want to ask a coulpe of things here, ALL points are to go for the best, and easiest for me to understand answer !!
1- Easiest way to make a function that will send/get simple encrypted cookie cookies, something like
<? sendcookie("/","name","value","valid_for_x_days") ?>
2- Easiest way to deal with session variables, something like session("username") in ASP, how to get them, how to set them .
3- A Simple 2 functions to access MySQL database, something like
<? OpenMyDatabase ?>
<? CloseMyDatabase ?>
4- Easiest way to deal with querystrings and server_variables, in ASP it is like
thanx in advance .