PHP stripslashes problem

2019-08-31 09:38发布

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?

2条回答
唯我独甜
2楼-- · 2019-08-31 09:45

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

查看更多
再贱就再见
3楼-- · 2019-08-31 10:07

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

查看更多
登录 后发表回答