Hi. Gurus, please correct the following if needed.
If get_magic_quotes_gpc() == 1, then there's no need to do addslashes() for GPC data.
If get_magic_quotes_runtime() == 0, then do addslashes() for runtime data if slashed data is wanted.
If retrieving data from a MySQL DB, where slashed data was inserted, there's no need to do stripslashes().
If slashed data is to be echoed onscreen, no MySQL DB involved, then do stripslashes() if wanted.
Some MySQL DB administration tools may, for example, show " unslashed but \ and ' as slashed, when viewing slashed data.
The actual slashes should not be seen in your MySQL DB, when viewing slashed data via SSH.
Cheers.