May 8th, 2010, 9:49 AM
Hello
I followed tutorial " Displaying data on POST form receipt pages "
But i don't want to use the unique key option
I don't know how to display result without using this feature
here is my result.php page :
What do i need to modify to remove the unique key verification ? i don't want to have that in the url
thanks
I followed tutorial " Displaying data on POST form receipt pages "
But i don't want to use the unique key option
I don't know how to display result without using this feature
here is my result.php page :
PHP Code:
<?php
require_once("/home/xxx/public_html/formtools/global/api/api.php");
?>
<?php
if (isset($_GET["submission_id"]) && isset($_GET["unique_key"]))
{
$form_id = 2;
$view_id = 1;
$export_type_id = 1;
$submission_info = ft_api_get_submission($form_id, $_GET["submission_id"]);
// now confirm that the unique_key matches
if (isset($submission_info["unique_key"]) &&
$submission_info["unique_key"] == $_GET["unique_key"])
{
ft_api_show_submission($form_id, $view_id, $export_type_id, $_GET["submission_id"]);
}
}
?>
<?php
echo $submission_info["element_1"]; // first name!
echo $submission_info["element_2"]; // last name!
?>
What do i need to modify to remove the unique key verification ? i don't want to have that in the url
thanks