Magic quotes and addslashes()

From: Date: Tue, 08 Apr 2003 17:31:46 +0000
Subject: Magic quotes and addslashes()
Groups: php.general 
Request: Send a blank email to php-general+get-142924@lists.php.net to get a copy of this message
I'm a developer of a PHP product for commercial use (it's open source though), and I'm wondering which is the best; require the user to enable magic_quotes in PHP or using addslashes() on all data inserted into the database? For the developers, it's one thing less to think of but maybe it could be bad for the users. Thank you in advance. ------------------------------- Emil Stenqvist <emil@evolve.se> http://dignitas.net/ +46 073 763 67 91

« previous php.general (#142924) next »