NYCPHP Meetup

NYPHP.org

[nycphp-talk] Addcslashes bug

John Campbell jcampbell1 at gmail.com
Mon Feb 11 21:30:46 EST 2008


> 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.

This doesn't make sense.  How would a slashing failure lead to a parse
error?  Parsing should always happen first.  Were you hacked?  Are you
sure it isn't an unsafe include?

-John C.



More information about the talk mailing list