In my ajax_combo.php file the following will not work with php5.6 or higher:
// receive and validate user input
$table_name = $_REQUEST['t'];
$field_name = $_REQUEST['f'];
$search_id = makeSafe(iconv('UTF-8', datalist_db_encoding, $_REQUEST['id']));
$selected_text = $_REQUEST['text'];
$returnOptions = ($_REQUEST['o'] == 1 ? true : false);
$page = intval($_REQUEST['p']);
if($page < 1) $page = 1;
$skip = $results_per_page * ($page - 1);
$search_term = makeSafe(iconv('UTF-8', datalist_db_encoding, $_REQUEST['s']));
This is due to the iconv() being unsupported.
How can I change this in the short term until I can open and save my appgini project in the current version of appgini and get current export of the php code.
Also, what version of php does the current version of appgini export?
Thanks all.
temporary workaround needed
Re: temporary workaround needed
AppGini-generated apps work on PHP 5.2 and higher (tested up to PHP 7.1). The code snippet you mentioned should work fine with PHP 5.6 and higher. According to the PHP manual, iconv is supported on all versions of PHP and is not marked as deprecated: https://secure.php.net/manual/en/function.iconv.php
AppGini plugins to add more power to your apps:
- DataTalk is an innovative AppGini plugin based on ChatGPT that allows you to interact with your AppGini database using natural language questions, without writing any SQL. Check the demo video
- Mass Update plugin: Update multiple records at once and improve your workflow efficiency.
- Check our other plugins and get a generous discount of up to 30% when buying 2 or more plugins.
Re: temporary workaround needed
Thank you.
I thought that was the case, but my crappy host is apparently crappy and I am battling with them that iconv is not configured appropriately. We will see.
BTW, I have a been an Appgini user since 2011 and appreciate you keeping the software updated and current.
I thought that was the case, but my crappy host is apparently crappy and I am battling with them that iconv is not configured appropriately. We will see.
BTW, I have a been an Appgini user since 2011 and appreciate you keeping the software updated and current.