Developer Support »

I am trying to set up a multi page form and getting errors  (See more user questions)

:o)

Yep, it's afternoon now!

If I ever get around to it, I'm going to put up a very basic PHP tutorial
for the likes of the thing you are doing, editing code etc.

If you haven't already done so, you can join my mailing list, and I'll put
out a message if/when I make the tutorial! You can get the sign-up box for
the mailing list on the bottom right-hand column of every page on the site.

Have a swell day!

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

----- Original Message -----
Sent: Wednesday, February 25, 2009 12:26 PM
Subject: Re: FormToEmail script


> Hi Charles,
>
> Thanks for the help, although I feel like a real schmuck now that I see
> what you did:-) I really need to take the time to learn more about php.
>
> Thanks again and have a great day... or I guess technically afternoon
> now since you're across the pond.
>
>
> FormToEmail.com wrote:
>> Hi
>>
>> Sure enough. You had HTML output BEFORE session_start(); in multi2.php
>>
>> I have put it at the top for you.
>>
>> Best wishes.
>>
>> Charles Sweeney
>> https://formtoemail.com
>> The world's easiest feedback script!
>>
>> ----- Original Message -----
>> Sent: Tuesday, February 24, 2009 10:55 PM
>> Subject: Re: FormToEmail script
>>
>>
>>> Hi Charles,
>>>
>>> No, It is still giving the same error.
>>>
>>> I have attached the files so you can look at the code.
>>>
>>> Thanks again, I really appreciate your help.
>>>
>>> FormToEmail.com wrote:
>>>> Hi
>>>>
>>>> I won't be able to view the code on that page.
>>>>
>>>> Did you fix the problem?
>>>>
>>>> Charles Sweeney
>>>> https://formtoemail.com
>>>> The world's easiest feedback script!
>>>>
>>>> ----- Original Message -----
>>>> Sent: Tuesday, February 24, 2009 9:39 PM
>>>> Subject: Re: FormToEmail script
>>>>
>>>>
>>>>> Hey, Thanks for the response.
>>>>>
>>>>> I put the script right after the "<body>" tag. Here is a link to
>>>>> the first of the two pages if you want to look at it.
>>>>>
>>>>> http://
>>>>>
>>>>> Thanks,
>>>>>
>>>>>
>>>>> FormToEmail.com wrote:
>>>>>> Hi
>>>>>> Hope all is well with you.
>>>>>>
>>>>>> You usually get "headers already sent" if you are starting the
>>>>>> session *after* the script has output to the screen. Usually the
>>>>>> output is some HTML or text that is printed *before* the session
>>>>>> is started.
>>>>>>
>>>>>> For that reason, session_start(); should be on your form page
>>>>>> before any output. This is why I usually suggest that it goes at
>>>>>> the top of the code for the page.
>>>>>>
>>>>>> Does this help?
>>>>>>
>>>>>> Charles Sweeney
>>>>>> https://formtoemail.com
>>>>>> The world's easiest feedback script!
>>>>>>
>>>>>> ----- Original Message -----
>>>>>> Sent: Tuesday, February 24, 2009 4:31 PM
>>>>>> Subject: FormToEmail script
>>>>>>
>>>>>>
>>>>>>> Comments: Hello Charles,
>>>>>>>
>>>>>>> I am trying to set up a multi page form and I followed the
>>>>>>> instructions on your support page for doing so but I am getting
>>>>>>> errors. It is a 2 part form and the error occurs when the second
>>>>>>> page loads. I think they are server related but maybe you can
>>>>>>> point me in the right direction. Here is a copy of the errors:
>>>>>>>
>>>>>>> Warning: session_start() [function.session-start]: Cannot send
>>>>>>> session cookie - headers already sent by (output started at
>>>>>>> /home//public_html/multi2.php:9) in
>>>>>>> /home//public_html/multi2.php on line 10
>>>>>>>
>>>>>>> Warning: session_start() [function.session-start]: Cannot send
>>>>>>> session cache limiter - headers already sent (output started at
>>>>>>> /home//public_html/multi2.php:9) in
>>>>>>> /home//public_html/multi2.php on line 10
>>>>>>>
>>>>>>> Thank You,