Just do not know why is this happening as same thing worked on my local
AFter installation if I submit my form I am being taken to index.php (which is shown as blank) rather than 'thanks.php'. Thanks.php do exist. Also when it is redirecte back for some strange reason favicon change to my host icon rather than the one visible earlier
inde.php
thanks.php
I am using same code for both files on my local which works fine
Just cant understand what is happening (
When i look at the data in mysql i am seeing records enterd as 'NULL' for all columns almost every other row
TIA (i can share my weblink in pm)
so issue seems to be
Despite using "<?php echo $_SERVER["PHP_SELF"]?>" it seems it is not getting redirected to thanks.php but rather to index.php.. any resolution
AFter installation if I submit my form I am being taken to index.php (which is shown as blank) rather than 'thanks.php'. Thanks.php do exist. Also when it is redirecte back for some strange reason favicon change to my host icon rather than the one visible earlier
inde.php
PHP Code:
<?php
require_once("formtools/global/api/api.php");
$fields = ft_api_init_form_page(1);
$params = array(
"submit_button" => "is_submitted",
"next_page" => "[b]thanks.php[/b]",
"form_data" => $_POST,
"file_data" => $_FILES,
"finalize" => true
);
ft_api_process_form($params);
?>
PHP Code:
<?php
require_once("formtools/global/api/api.php");
$fields = ft_api_init_form_page(1); //have also tried without 1
ft_api_clear_form_sessions();
?>
I am using same code for both files on my local which works fine
Just cant understand what is happening (
When i look at the data in mysql i am seeing records enterd as 'NULL' for all columns almost every other row
TIA (i can share my weblink in pm)
so issue seems to be
Despite using "<?php echo $_SERVER["PHP_SELF"]?>" it seems it is not getting redirected to thanks.php but rather to index.php.. any resolution