Developer Support »

Corrupt file  (See more user questions)

Hi

The problem is caused by the "gobbledegook" array not displaying properly in
your script. The program you have used to open and edit the script has not
encoded the characters correctly and has corrupted the array. You need to
open and edit the script in a program that will preserve the code as it is.
Windows Notepad is sufficient.

I have attached a new script for you.

If you are still having problems, you can delete the section of code that
deals with the gobbledegook check, which means you won't be able to use it.
If you need to delete the code, this is it (lines 761 to 795 inclusive):

if($gobbledegook_check)
{

$gobbledegook_alphabet =
array('','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','');

function recursive_array_check_gobbledegook($element_value,$inkey = "")
{

global $set;
global $gobbledegook_alphabet;
global $return_value;
global $return_key;

if(!is_array($element_value))
{

foreach($gobbledegook_alphabet as
$value){if(stristr($element_value,$value)){$set = 1; $return_value = $value;
$return_key = $inkey; break;}}

}else{

foreach($element_value as $key => $value){if($set){break;}
recursive_array_check_gobbledegook($value,$key);}

}

}

recursive_array_check_gobbledegook($_REQUEST);

if($set){if(is_numeric($return_key)){$errors[] = "You have entered an
invalid character ($return_value)";}else{$errors[] = "You have entered an
invalid character ($return_value) in the \"$return_key\" field";}}

unset($set);
unset($return_value);
unset($return_key);

}

Any questions, just let me know.

Best wishes.

Charles Sweeney
https://formtoemail.com
The world's easiest feedback script!

----- Original Message -----
Sent: Sunday, August 10, 2008 2:09 AM
Subject: RE: FormToEmail-Pro Script


> Hi Charles,
>
>
>
> I just tried to use Version 2.7 and I get an error message when I
> submitted
> the form. I had only changed my email address in the php file. Here is
> the
> error message.
>
>
>
> Parse error: parse error, unexpected ',' in
> /home/content/c/p/a/contest-teacher-ftemp.php on line 764
>
>
>
> I've also attached the html form and the fortoemailpro.php as I modified
> it.
>
>
>
> Could you please take a look at it if you have a chance?
>
>
>
> thanks