i encounter a probelm where
user and password input page:
echo("<form name=\"username\" method=\"post\" action=\"http://192.168.0.220/cms/admin/super_admin/sad_compinfo.php\">"); echo("<input type=\"hidden\" name=\"username\" value'".$user."'>"); echo("</form>");
error: Cannot add header information - headers already sent by (output started at /var/www/html/MyIndustryWeb/cms/login.php:116)
Can somebody teach me how to solve it? Thanks:o
in sad_compinfo.php, find the line 116 then post it here. But the most probable cause of this is that there is something being outputed by the browser. You can't have any echos or prints before a header. 🙂
header( "Location:http://192.168.0.220/cms/admin/super_admin/sad_compinfo.php" );
echo("<form name=\"username\" method=\"post\" action=\"http://192.168.0.220/cms/admin/super_admin/sad_compinfo.php\">"); echo("<input type=\"hidden\" name=\"username\" value' ".$user." '>"); echo("</form>");
Seem couldn;t pass. i need helppppp~~~😕