Jump to content

Recommended Posts

I'm looking for a way to automate smart quotes on a php page similar to that of a mass $_POST/$_GET data dump.  Does anyone have one that can be turned off, and on depending on the page?

 

Example: on this forum if you go to "?action=post;board='1.0" it kills the site, but '?action=post;board="1.0' wouldn't (hypothetically speaking, but it does anyways).

 

It would save s lot of time when writing code, and quickly automate page security.

Link to comment
https://forums.phpfreaks.com/topic/145182-automation-of-smart-quotes/
Share on other sites

Form Data or Variable Data processing is a initialization staging process. Things like this should be done at the initialization of the application. Most people just use the super globals the way they are given to you, which is bad by design. If your script or application expects variables (A, B and C) then after initialization the super global should only contain variables (A, B and C) because the initialization process should CAST by TYPE and CLEAN the variables by APPLICATION USAGE, REMOVING any variable not expected.

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.