/    Sign up×
Community /Pin to ProfileBookmark

Turning off magic_quotes_gpc causes extra resend

When i post an image in my CKEditor, all the quotation marks get replaced with the " entity and so the image doesn’t display. I cannot figure out if this problem can be fixed on the CKEditor side, because some recommendations i’ve found along the internet just don’t work as they’re supposed to.

But if i add a php.ini file that turns off magic_quotes_gpc, the image is saved and displayed perfectly. However, with that option, every single form in my CMS causes Firefox to ask to resend the post data after submitting. This does not appear when hitting the Refresh and does not go away if i remove header redirecting with PHP (that was a desparate move). It occurs at the very moment the form is being submitted and makes no sense to me.

Solving my problem on either the CKEditor side or the magic_quotes_gpc side would be fine. But right now, this double resend is very confusing ?

to post a comment
PHP

0Be the first to comment 😎

×

Success!

Help @3Nex spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.28,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...