PHP/MySQL Authentication
17
The recursive function stripslashesDeep($value) will (upon called) strip slashes (\) from strings and arrays (even arrays with arrays within themself). The controlstatement (if) checks if magic quotes gpc is on, if it is we strip the slashes it have added.
Very good snippet if you want to have the "same" input even if you switch to an enviroment where magic quotes gpc is set to something else than on your originall server.
Very good snippet if you want to have the "same" input even if you switch to an enviroment where magic quotes gpc is set to something else than on your originall server.
10
I'm trying to load an object into a session variable.
13
Generate a random number or string in PHP.
11
Convert an irregular name=value pair string into a formatted array.
13
I needed to send an email through an authenticated SMTP server. I found the snippet on the PHP website to do the trick.
5
List the databases on a MySQL serve
6
Creates a new user with all privileges when logging in from localhost.
16
Format a phone number with php.
4
A simple search array example.
11
Example of how to use CURL with PHP.









