Mar 6th, 2009, 4:26 PM
Hi!
I have setup a multi-page registration form following the instructions for "Adding a multi-page form with the API" in the Form Tools Documentation. I configured the first page with this script:
I attempted to do a test submission of the form and when I click the "submit button" it seems to be uploading but then I get a blank screen with done at the bottom status line on the browser. When I try to look at the "page source' file it shows only the first few lines of HTML code:
I expected it to continue to the next registration page to enter the data there.
I tried manually going to the next page and got an error message as follows:
Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting ')' in /mounted-storage/home122c/sub009/sc67680-TSDG/kardoninternet.com/members/membersignup_step2.php on line 10
When I check the page source code on the server using the editor there it shows line 10 as the "file_data" => $_FILES line
The only thing I can think of is that the files are in the "members" directory. The virtual web information is:
Hostname: members.kardoninternet.com
Document Root: /kardoninternet.com/members
I am sure that I am overlooking something but I keep trying and nothing seems to be working. Any suggestion?
Thanks,
Donald
I have setup a multi-page registration form following the instructions for "Adding a multi-page form with the API" in the Form Tools Documentation. I configured the first page with this script:
PHP Code:
<?php
require_once("/mounted-storage/home122c/sub009/sc67680-TSDG/kardoninternet.com/form_tools/global/api/api.php");
$fields = ft_api_init_form_page(1, "initialize");
$params = array(
"submit_button" => "continue",
"next_page" => "/members/membersignup_step2.php",
"form_data" => $_POST,
"file_data" => $_FILES
);
ft_api_process_form($params);
?>
I attempted to do a test submission of the form and when I click the "submit button" it seems to be uploading but then I get a blank screen with done at the bottom status line on the browser. When I try to look at the "page source' file it shows only the first few lines of HTML code:
Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html lang="en"><head>
I expected it to continue to the next registration page to enter the data there.
I tried manually going to the next page and got an error message as follows:
Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting ')' in /mounted-storage/home122c/sub009/sc67680-TSDG/kardoninternet.com/members/membersignup_step2.php on line 10
Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html lang="en"><head>
<?php
require_once("/mounted-storage/home122c/sub009/sc67680-TSDG/kardoninternet.com/form_tools/global/api/api.php");
$fields = ft_api_init_form_page();
$params = array(
"submit_button" => "continue",
"next_page" => "/members/membersignup_step3.php",
"form_data" => $_POST
"file_data" => $_FILES
);
ft_api_process_form($params);
?>
<title>Model Sign Up - Step Two</title>
When I check the page source code on the server using the editor there it shows line 10 as the "file_data" => $_FILES line
The only thing I can think of is that the files are in the "members" directory. The virtual web information is:
Hostname: members.kardoninternet.com
Document Root: /kardoninternet.com/members
I am sure that I am overlooking something but I keep trying and nothing seems to be working. Any suggestion?
Thanks,
Donald