php shopping cart
free shopping cart   shopping cart software

Free Shopping Cart PHP Software


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

Gets a string variable from a url query string.


string = afc_secure_string_GET (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 number. It will first use $_GET super global and retrieve the variable from the query string, 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.


variable (string) - The name of the variable that is being retrieved. This name is normally the value inside of the quotes in a normal $_GET['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_GET("variable");

Back to Functions List


There are currently no posts for this topic.

AFCommerce Documentation

High End Website DevelopmentCompletely Free
Dating Service
Copyright 2004 - 2006
AFCommerce Website
And Cart Builder