Jump to content

automation of smart quotes


Q695

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.

Archived

This topic is now archived and is closed to further replies.

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