Cytat(O$iek @ 18.10.2010, 16:50:46 )

Nie żebym wątpił w swoje umiejętności jasnowidza, ale może dałbyś kod pliku formprocess.php ?
Masz tu taki mały gratis bez patrzenia w kod:
http://phpedia.pl/wiki/Cannot_add_header_i...rs_already_sentjuż to czytałem i to nie pomaga (IMG:
style_emoticons/default/sad.gif)
<?php
require_once './ValidateClass.php';
require_once './configuration.php';
if(isset($_POST['send'])) {
if(false==ValidateClass
::checkLogin(ucfirst($_POST['name'])) || empty($_POST['name'])) {
$error.='Podałeś nieprawidłowe imię. <br />Kliknij <a title="wstecz" href="java script:history.go(-1)">wstecz</a> i popraw ten błąd.';
$error.="<br />";
}
if(false==ValidateClass
::checkLogin(ucfirst($_POST['surname'])) || empty($_POST['surname'])) {
$error.='Podałeś nieprawidłowe nazwisko. <br />Kliknij <a title="wstecz" href="java script:history.go(-1)">wstecz</a> i popraw ten błąd.';
$error.="<br />";
}
{
$error.='Podałeś zły numer telefonu (podaj tylko cyfry bez myślników i spacji). <br />Kliknij <a title="wstecz" href="java script:history.go(-1)">wstecz</a> i popraw ten błąd.';
$error.="<br />";
}
if(false==ValidateClass::checkMail($_POST['mail']))
{
$error.='Podałeś nieprawidłowy adres email. <br />Kliknij <a title="wstecz" href="java script:history.go(-1)">wstecz</a> i popraw ten błąd.';
$error.="<br />";
}
{
$url='Location:' . $adres . '?error=' . $error;
}
else
{
if(!empty($_POST['sugestion'])) {
$sugest='<br />' . 'Treść Zapytania:<br />'. htmlspecialchars($_POST['sugestion']); }
//Dane klienta
$client= '' . $_POST['name'] .' '. $_POST['surname'] . '<br />Firma: ' . $_POST['street'] . ' ' . $_POST['number_flat']
. '' . $_POST['postal_code'] .' ' . $_POST['town'] . '<br />Telefon: ' . $_POST['phone_number'] .
$mail_content5 . $_POST['carts'] . '';
//mail dla nas
$headers = 'MIME-Version: 1.0' . "\r\n";
$headers .= 'Content-type: text/html; charset=utf-8' . "\r\n";
$headers .= 'To:' . $from . '<' . $mail . '>' . "\r\n";
$headers .= 'From: '. $_POST['name'] . ' ' . $_POST['surname'] . '<' . $_POST['mail'] . '>' . "\r\n";
$content_seller=$mail_content_seller . 'Email: ' . $_POST['mail'] .'<br />Imię i Nazwisko: ' . $client
. '<br />' . $mail_content_seller3 . ' '
. $sugest;
mail($mail, $subject_seller, $content_seller , $headers);
$url='Location:' . $adres . '?accept=ok';
}
}
else
{
$url='Location:' . $adres;
}
?>