NYCPHP Meetup

NYPHP.org

[nycphp-talk] Addcslashes bug

Daniel Convissor danielc at analysisandsolutions.com
Mon Feb 11 22:06:23 EST 2008


Hi Cliff:


> The logs picked up the error after the damage was done: "PHP Parse error:
> syntax error, unexpected T_STRING". But the logs don't indicate why
> addcslashes failed to slash a single quote in this one instance.

Are you eval()'ing code?  If so, _that's_ your problem, not the inability 
to add slashes. :)

--Dan

-- 
 T H E   A N A L Y S I S   A N D   S O L U T I O N S   C O M P A N Y
            data intensive web and database programming
                http://www.AnalysisAndSolutions.com/
 4015 7th Ave #4, Brooklyn NY 11232  v: 718-854-0335 f: 718-854-0409



More information about the talk mailing list