Jim
Jim

Reputation:

PHP stripslashes problem

I have a development machine that is local and a server out on the net. Weird thing is that when I use stripslashes on my development machine, all slashes are removed and when I upload the same code to the net server, I see the escape character even though I am using stripslashes. Anyone have any ideas?

Upvotes: 0

Views: 3342

Answers (2)

Zed
Zed

Reputation: 57658

Perhaps what the note says on the manual page might be the problem.

Upvotes: 0

Gumbo
Gumbo

Reputation: 655239

This could be Magic Quotes. Try to disable them or remove them before processing the data.

Upvotes: 2

Related Questions