php shopping cart
free shopping cart   shopping cart software

Free Shopping Cart PHP Software

afc_secure_string_POST

Back to Functions List
This Function Has Been Available Since:
(AFCommerce v 2.1,     Functions v 1.1)

Post a string variable from an html form.

Description

string = afc_secure_string_POST (variable)

This function is part of the new security features for version 2. Use this function when you are posting in a variable that will be a STRING. It will first use $_POST super global and retrieve the variable from the form, and then prepare the variable to be stored in a database, so you should only use this function when the user input will be stored in the database. For the overall security of AFCommerce, this page does not fully disclose all methods used to protect your web server, so that hackers can not study the security functions and attack your website. This helps make AFCommerce more secure than other free software that is completely open source.


Parameters

variable (string) - The name of the variable that is being posted. This name is normally the value inside of the quotes in a normal $_POST['variable'] statement.

Return Values

Returns the variable after it is checked for illegal characters that may be used to attack your website.

Open Source: No

Paul's Examples


$variable = afc_secure_string_POST("variable");


Back to Functions List




afc_secure_string_POST

There are currently no posts for this topic.











AFCommerce Documentation


High End Website DevelopmentCompletely Free
Dating Service
Copyright 2004 - 2006
www.afcommerce.com
AFCommerce Website
And Cart Builder