-1

This my code , I've tryed to remove the blank spaces from the first line and the last , used session_start() or ob_start and I cant figure it out what is the problem that the page doesnt redirect to google

Warning: session_start(): Cannot send session cookie - headers already sent by (output started at /hermes/bosoraweb047/b136/ipg.vimmescom/db_add/logins.php:5) in /hermes/bosoraweb047/b136/ipg.vimmescom/db_add/logins.php on line 56

Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /hermes/bosoraweb047/b136/ipg.vimmescom/db_add/logins.php:5) in /hermes/bosoraweb047/b136/ipg.vimmescom/db_add/logins.php on line 56

Warning: Cannot modify header information - headers already sent by (output started at /hermes/bosoraweb047/b136/ipg.vimmescom/db_add/logins.php:5) in /hermes/bosoraweb047/b136/ipg.vimmescom/db_add/logins.php on line 42

<?php
    error_reporting(E_ALL); ini_set('display_errors', 'On');?>

"> Member Login Username : Password :    

1 Answers1

0

Code your php section on the top.

as you can not sent header. After sending <html> content.

Note: redirect_to() is not the php function

use header in this line redirect_to ("http://www.google.com"); If all of your application in php.

arif_suhail_123
  • 2,509
  • 2
  • 12
  • 16