Search results

  1. M

    Function header()

    I tried using ob_flush as you said but it doesn't work ^^". I put here the code of the pages where i use the header and maybe someone can understand why it doesn't work ^^". Page1(form) "first": <form method="post" action="firstEff.php"> <input type="text" size="20" maxlength="20" name="first"...
  2. M

    Function header()

    I trained the php warning but nothig appears, only the already sent error posted previously. But the fact is the on my pc the webpage works perfectly but when i publish it on x10hosting server i go to the www site and it doesn't work :mad:
  3. M

    Function header()

    I've not output before, the code is if($var1=="answer") { header('Location: wherever_you_want.php'); } else { header('Location: wherever_you_want.php?var='.$var'); }However i'll try to use your code and i'll write if it'll work properly. However i'll thank you for the help :).
  4. M

    Function header()

    Hello!. I'm trying to use the header function like this: header("location:test1.php"); header("location:test2.php?var=".$var); but when i upload the .php file on my website it doesn't work properly, making the seguent error: Warning: Cannot modify header information - headers already sent...
Top