Developer Support »

Corrupt file  (See more user questions)

Hi

My pleasure to assist.

Your file has become corrupted. You have this (line 1469):

foreach(array_keys($_FILES) as
$value){if(!empty($_FILES[$value]['tmp_name'])){$_REQUEST[$value] = "<a
href=../\%22http:/%22.$_SERVER[%27HTTP_HOST%27].$web_location.$uploaded_file_prefix.$_FILES[$value][%27name%27].%22\%2522>{$uploaded_file_prefix}{$_FILES[$value]['name']}</a>";}}

The single quotes and double quotes have been replaced with %27 and %22.
It's like URL encoding.

I had a customer with this not so long ago. I think it is down to the text
editor you use. Are you saving it with any non-default encoding?

I have attached a fresh copy of the script for you. Try editing it in
Notepad, saving it with the default ANSI encoding, see how it goes.

Any questions, just let me know.

Best wishes.

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

----- Original Message -----
Sent: Wednesday, July 22, 2009 11:21 AM
Subject: RE: FormToEmail-Pro script


Hi Charles, thank you for a quick response.

I had already reviewed your support documentation before emailing you.

I have not really changed the script other than the change of email address
so a little confused.

I attach the revised file, thanks for your help.

-----Original Message-----
Sent: 22 July 2009 11:13
Subject: Re: FormToEmail-Pro script

Hi

Thank you for your purchase.

Have a look at this page on my support section:

https://formtoemail.com/developersupport/parse_errors.php

If you can't fix it, send me your edited script and I will show you what it
causing the problem.

Any questions, just let me know.

Best wishes.

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

----- Original Message -----
Sent: Wednesday, July 22, 2009 9:08 AM
Subject: FormToEmail script


> Comments: Hi, I purchased the Pro version yesterday, but I am getting the
> following error message
>
> Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting

> T_STRING or T_VARIABLE or T_NUM_STRING in
> /homepages/2/d76352066/htdocs//cgi-bin/formtoemailpro.php on line 1469
>
> Please can you help.
>
> thanks