Warning: Cannot modify header information ...
Posted: Sun Nov 06, 2011 2:10 am
Header(); does not works. Warning: Cannot modify header information - headers already sent by (output started at /home/sanikidz/domains/...).
Thanks for help.
Code: Select all
<?php
ob_start();
$nomeri = $_POST['operator'].$_POST['cellular'];
$messageText = $_POST['message'];
$e = "http://smsc.ru/sys/send.php?login=zura&psw=1111&phones=".$nomeri."&mes=".$messageText;
header("Location: $e");
if ($e == "true") echo "was sent!";
ob_end_flush();
?>