Thread: Generating PDF
View Single Post
  #9 (permalink)  
Old 03-03-08, 11:25 AM
Nico's Avatar
Nico Nico is offline
Community Leader
 
Join Date: Sep 2005
Location: Spain
Posts: 8,075
Thanks: 11
Thanked 88 Times in 83 Posts
These slashes don't necessarily come from the class. PHP adds these automatically to $_POST/$_GET/$_COOKIE/$_ENV variables if magic_quotes_gpc is enabled in php.ini.

To remove them, you can either use stripslashes(), or preferably disable them in php.ini, as they're gonna be removed anyway in PHP 6.

Last edited by Nico; 03-03-08 at 11:46 AM. Reason: Typo.
Reply With Quote