Home News Contact Us Forum About Us Demos Products F.A.Q.
Shopping Cart
You currently have 0 items in your cart.


Recent Events
  • 31/12/2023 New Year SALE

    We are glad to announce New Year SALE. 25% discount for all our extensions. Use NY24 coupon code. Hurry up the discount is valid till 7 January.

  • 21/11/2023 BLACK FRIDAY 23 is coming

    BIG SALE, 35% discount for all our extensions. Use BF23 coupon code. Hurry up the discount is valid till 27 November.


2Checkout.com, Inc. is an authorized retailer of goods and services provided by ARI Soft. 2CheckOut




Follow us on twitter



Welcome, Guest
Please Login or Register.    Lost Password?

Remove single quote of $ _REQUEST variables
(1 viewing) (1) Guest
Go to bottomPage: 1
TOPIC: Remove single quote of $ _REQUEST variables
#55666
Remove single quote of $ _REQUEST variables 8 Years, 7 Months ago Karma: 0
When the variables $ _REQUEST is printed inside the SQL statement, it is enclosed in "single quotation marks".
Can I change the code to a file and not the variable is printed in "single quotation marks"?
Regards,
Roberto
The administrator has disabled public write access.
 
#55667
Re:Remove single quote of $ _REQUEST variables 8 Years, 7 Months ago Karma: 747
Hello,

Values of request variables are quoted for security reason. If you want to change this behaviour, see the following code in <joomla_directory>/modules/mod_aridatatables/includes/kernel/DataTables/Models/class.DataTablesDataSqlModel.php file:

Code:


AriArrayHelper::walkRecursive($request, array(&$db, 'Quote'));



comment or remove this code.

Regards,
ARI Soft
The administrator has disabled public write access.
 
Go to topPage: 1