Developer Support »

Can I pass a variable subject?  (See more user questions)

Hi

There's a possibility that the file has become corrupted. This can happen
if you don't use a plain text editor. I have attached a fresh script for
you to try. Edit it in Notepad, see how it goes.

Failing that, attach your edited script and I will show you what is wrong
with it.

Best wishes.

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

----- Original Message -----
Sent: Friday, February 20, 2009 12:49 AM
Subject: Re: FormToEmail-Pro


>I disabled: $gobbledegook_check = 0;
>
> To clear the apache error:
>
> PHP Warning: stristr() [<a href='function.stristr'>function.stristr</
> a>]: Empty delimiter in /usr/home/html/_lib/
> formtoemailpro.php on line 1075, referer:
> http://www..com/data.html
>
> Until I get your recommendations.
>
> Form work and logs are nice and quite:)
>
> Thanks much!
>
> On Feb 19, 2009, at 5:18 PM, FormToEmail.com wrote:
>
>> Hi
>>
>> You can hard-code a subject in the script configuration.
>>
>> You can also pass a subject, like your example. If doing so, you need
>> to change the $subject variable in the script, to:
>>
>> $subject = $_REQUEST['subject'];
>>
>> Have a look at this page on my support section for more information:
>>
>> https://formtoemail.com/developersupport/selecting_email_subject.php
>>
>> Any questions, just let me know.
>>
>> Best wishes.
>>
>> Charles Sweeney
>> https://formtoemail.com
>> The world's easiest feedback script!
>>
>> ----- Original Message -----
>> Sent: Thursday, February 19, 2009 11:10 PM
>> Subject: Re: FormToEmail-Pro
>>
>>
>>> Quick question. Can I pass a variable subject:
>>>
>>> <input type="hidden" name="subject" value="Manufacturing Data Sheet">
>>>
>>> This is an example from a form I use with NMS Formmail.
>>>
>>> ---
>>>
>>>
>>> On Feb 19, 2009, at 4:41 PM, FormToEmail.com wrote:
>>>
>>>> Hi
>>>>
>>>> That's fantastic!!!
>>>>
>>>> Really pleased to do a job for you! It is always my intention to
>>>> make things as clear and simple as possible. I know from my own
>>>> experience when looking at new software there is usually a steep
>>>> learning curve, so I like to make things easy for my customers.
>>>>
>>>> Thank you very much for your feedback.
>>>>
>>>> Best wishes.
>>>>
>>>> Charles Sweeney
>>>> https://formtoemail.com
>>>> The world's easiest feedback script!
>>>>
>>>> ----- Original Message -----
>>>> Sent: Thursday, February 19, 2009 9:32 PM
>>>> Subject: Re: FormToEmail-Pro
>>>>
>>>>
>>>>> I have 4 to six or more hours into trouble shooting phpMailer- fe.php
>>>>> to be able to process a form with an uploaded attachment and send it
>>>>> by email. The darn form was double mailing and Outlook couldn't deal
>>>>> with the attachments at all, while other mail programs could. Three
>>>>> hours and still waiting to be allowed to post on their forum and I
>>>>> bailed.
>>>>>
>>>>> So I cast the net looking agin and came across your formtomail.php,
>>>>> tried the free version and it worked so I bought the Pro versiona
>>>>> and in less than 2 minutes was up and running! Yay!!!
>>>>>
>>>>> Its well documented and clean--I like it allot.
>>>>>
>>>>> Thanks for writing this.